support audio sync transcoding

This commit is contained in:
Luke Pulverenti
2015-01-02 00:36:27 -05:00
parent 24e1f9834a
commit c93740461e
22 changed files with 157 additions and 47 deletions

View File

@@ -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;

View File

@@ -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; }

View File

@@ -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>