2020-09-01 23:26:49 +00:00
|
|
|
|
namespace Jellyfin.Api.Attributes
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Produces file attribute of "video/*".
|
|
|
|
|
/// </summary>
|
2021-11-16 15:31:57 +00:00
|
|
|
|
public sealed class ProducesVideoFileAttribute : ProducesFileAttribute
|
2020-09-01 23:26:49 +00:00
|
|
|
|
{
|
|
|
|
|
private const string ContentType = "video/*";
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Initializes a new instance of the <see cref="ProducesVideoFileAttribute"/> class.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ProducesVideoFileAttribute()
|
|
|
|
|
: base(ContentType)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|