mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-03 07:16:31 +01:00
support audio sync transcoding
This commit is contained in:
@@ -109,7 +109,8 @@ namespace MediaBrowser.Model.Dlna
|
||||
ItemId = options.ItemId,
|
||||
MediaType = DlnaProfileType.Audio,
|
||||
MediaSource = item,
|
||||
RunTimeTicks = item.RunTimeTicks
|
||||
RunTimeTicks = item.RunTimeTicks,
|
||||
Context = options.Context
|
||||
};
|
||||
|
||||
int? maxBitrateSetting = options.GetMaxBitrate();
|
||||
@@ -240,7 +241,8 @@ namespace MediaBrowser.Model.Dlna
|
||||
ItemId = options.ItemId,
|
||||
MediaType = DlnaProfileType.Video,
|
||||
MediaSource = item,
|
||||
RunTimeTicks = item.RunTimeTicks
|
||||
RunTimeTicks = item.RunTimeTicks,
|
||||
Context = options.Context
|
||||
};
|
||||
|
||||
int? audioStreamIndex = options.AudioStreamIndex ?? item.DefaultAudioStreamIndex;
|
||||
|
||||
@@ -18,6 +18,7 @@ namespace MediaBrowser.Model.Dlna
|
||||
public string ItemId { get; set; }
|
||||
|
||||
public PlayMethod PlayMethod { get; set; }
|
||||
public EncodingContext Context { get; set; }
|
||||
|
||||
public DlnaProfileType MediaType { get; set; }
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace MediaBrowser.Model.Sync
|
||||
/// Gets or sets the unique identifier.
|
||||
/// </summary>
|
||||
/// <value>The unique identifier.</value>
|
||||
public string UniqueId { get; set; }
|
||||
public string Id { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the item identifier.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user