mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-16 12:40:27 +01:00
live tv fix
This commit is contained in:
@@ -248,10 +248,9 @@ namespace MediaBrowser.Model.ApiClient
|
||||
/// <summary>
|
||||
/// Gets the playback information.
|
||||
/// </summary>
|
||||
/// <param name="itemId">The item identifier.</param>
|
||||
/// <param name="userId">The user identifier.</param>
|
||||
/// <param name="request">The request.</param>
|
||||
/// <returns>Task<LiveMediaInfoResult>.</returns>
|
||||
Task<PlaybackInfoResponse> GetPlaybackInfo(string itemId, string userId);
|
||||
Task<PlaybackInfoResponse> GetPlaybackInfo(PlaybackInfoRequest request);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the users async.
|
||||
|
||||
@@ -4,6 +4,22 @@ namespace MediaBrowser.Model.MediaInfo
|
||||
{
|
||||
public class PlaybackInfoRequest
|
||||
{
|
||||
public string Id { get; set; }
|
||||
|
||||
public string UserId { get; set; }
|
||||
|
||||
public int? MaxStreamingBitrate { get; set; }
|
||||
|
||||
public long? StartTimeTicks { get; set; }
|
||||
|
||||
public int? AudioStreamIndex { get; set; }
|
||||
|
||||
public int? SubtitleStreamIndex { get; set; }
|
||||
|
||||
public string MediaSourceId { get; set; }
|
||||
|
||||
public string LiveStreamId { get; set; }
|
||||
|
||||
public DeviceProfile DeviceProfile { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,6 +31,11 @@ namespace MediaBrowser.Model.Sync
|
||||
/// <value>The item identifier.</value>
|
||||
public string ItemId { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the synchronize job item identifier.
|
||||
/// </summary>
|
||||
/// <value>The synchronize job item identifier.</value>
|
||||
public string SyncJobItemId { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the user ids with access.
|
||||
/// </summary>
|
||||
/// <value>The user ids with access.</value>
|
||||
|
||||
@@ -6,6 +6,7 @@ namespace MediaBrowser.Model.Sync
|
||||
{
|
||||
public List<string> LocalItemIds { get; set; }
|
||||
public List<string> OfflineUserIds { get; set; }
|
||||
public List<string> SyncJobItemIds { get; set; }
|
||||
|
||||
public string TargetId { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user