aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Attributes/ProducesPlaylistFileAttribute.cs
blob: 5b15cb1a5660c4286d74b17077fd0b6648eda872 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)
        {
        }
    }
}