aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Attributes/ProducesPlaylistFileAttribute.cs
blob: 5d928ab9140da10fbd13114c4c9c512d1261219a (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 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)
        {
        }
    }
}