jellyfin/Jellyfin.Api/Attributes/ProducesPlaylistFileAttribu...

18 lines
466 B
C#
Raw Normal View History

2023-01-31 06:18:10 -05:00
namespace Jellyfin.Api.Attributes;
/// <summary>
/// Produces file attribute of "image/*".
/// </summary>
public sealed class ProducesPlaylistFileAttribute : ProducesFileAttribute
{
2023-01-31 06:18:10 -05:00
private const string ContentType = "application/x-mpegURL";
/// <summary>
2023-01-31 06:18:10 -05:00
/// Initializes a new instance of the <see cref="ProducesPlaylistFileAttribute"/> class.
/// </summary>
2023-01-31 06:18:10 -05:00
public ProducesPlaylistFileAttribute()
: base(ContentType)
{
}
}