You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
namespace Jellyfin.Api.Attributes;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Produces file attribute of "image/*".
|
|
|
|
|
/// </summary>
|
|
|
|
|
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)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|