mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Address comments
This commit is contained in:
parent
30ce346f34
commit
9cca964b08
@ -15,23 +15,6 @@ namespace MediaBrowser.Model.MediaInfo
|
|||||||
DirectPlayProtocols = new MediaProtocol[] { MediaProtocol.Http };
|
DirectPlayProtocols = new MediaProtocol[] { MediaProtocol.Http };
|
||||||
}
|
}
|
||||||
|
|
||||||
public string OpenToken { get; set; }
|
|
||||||
public Guid UserId { get; set; }
|
|
||||||
public string PlaySessionId { get; set; }
|
|
||||||
public long? MaxStreamingBitrate { get; set; }
|
|
||||||
public long? StartTimeTicks { get; set; }
|
|
||||||
public int? AudioStreamIndex { get; set; }
|
|
||||||
public int? SubtitleStreamIndex { get; set; }
|
|
||||||
public int? MaxAudioChannels { get; set; }
|
|
||||||
public Guid ItemId { get; set; }
|
|
||||||
public DeviceProfile DeviceProfile { get; set; }
|
|
||||||
|
|
||||||
public bool EnableDirectPlay { get; set; }
|
|
||||||
public bool EnableDirectStream { get; set; }
|
|
||||||
public MediaProtocol[] DirectPlayProtocols { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public LiveStreamRequest(AudioOptions options)
|
public LiveStreamRequest(AudioOptions options)
|
||||||
{
|
{
|
||||||
MaxStreamingBitrate = options.MaxBitrate;
|
MaxStreamingBitrate = options.MaxBitrate;
|
||||||
@ -47,5 +30,20 @@ namespace MediaBrowser.Model.MediaInfo
|
|||||||
SubtitleStreamIndex = videoOptions.SubtitleStreamIndex;
|
SubtitleStreamIndex = videoOptions.SubtitleStreamIndex;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public string OpenToken { get; set; }
|
||||||
|
public Guid UserId { get; set; }
|
||||||
|
public string PlaySessionId { get; set; }
|
||||||
|
public long? MaxStreamingBitrate { get; set; }
|
||||||
|
public long? StartTimeTicks { get; set; }
|
||||||
|
public int? AudioStreamIndex { get; set; }
|
||||||
|
public int? SubtitleStreamIndex { get; set; }
|
||||||
|
public int? MaxAudioChannels { get; set; }
|
||||||
|
public Guid ItemId { get; set; }
|
||||||
|
public DeviceProfile DeviceProfile { get; set; }
|
||||||
|
|
||||||
|
public bool EnableDirectPlay { get; set; }
|
||||||
|
public bool EnableDirectStream { get; set; }
|
||||||
|
public MediaProtocol[] DirectPlayProtocols { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
#pragma warning disable CS1591
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using MediaBrowser.Model.Entities;
|
using MediaBrowser.Model.Entities;
|
||||||
|
|
||||||
namespace MediaBrowser.Model.Providers
|
namespace MediaBrowser.Model.Providers
|
||||||
@ -17,11 +14,14 @@ namespace MediaBrowser.Model.Providers
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the name.
|
/// Gets the name.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The name.</value>
|
/// <value>The name.</value>
|
||||||
public string Name { get; set; }
|
public string Name { get; }
|
||||||
|
|
||||||
public ImageType[] SupportedImages { get; set; }
|
/// <summary>
|
||||||
|
/// Gets the supported image types.
|
||||||
|
/// </summary>
|
||||||
|
public ImageType[] SupportedImages { get; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user