jellyfin-server/Jellyfin.Api/Attributes/ProducesPlaylistFileAttribute.cs

19 lines
524 B
C#
Raw Normal View History

namespace Jellyfin.Api.Attributes
{
/// <summary>
/// Produces file attribute of "image/*".
/// </summary>
2021-11-16 15:31:57 +00:00
public sealed class ProducesPlaylistFileAttribute : ProducesFileAttribute
{
private const string ContentType = "application/x-mpegURL";
/// <summary>
/// Initializes a new instance of the <see cref="ProducesPlaylistFileAttribute"/> class.
/// </summary>
public ProducesPlaylistFileAttribute()
: base(ContentType)
{
}
}
}