ProducesPlaylistFileAttribute.cs 466 B

1234567891011121314151617
  1. namespace Jellyfin.Api.Attributes;
  2. /// <summary>
  3. /// Produces file attribute of "image/*".
  4. /// </summary>
  5. public sealed class ProducesPlaylistFileAttribute : ProducesFileAttribute
  6. {
  7. private const string ContentType = "application/x-mpegURL";
  8. /// <summary>
  9. /// Initializes a new instance of the <see cref="ProducesPlaylistFileAttribute"/> class.
  10. /// </summary>
  11. public ProducesPlaylistFileAttribute()
  12. : base(ContentType)
  13. {
  14. }
  15. }