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