diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-04-29 12:01:23 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-04-29 12:01:23 -0400 |
| commit | 33f4b2ed53b90af6dca441cdd52c6f41a66cac17 (patch) | |
| tree | 3e7598555dde9a064d880afab0a7464d4688437d /MediaBrowser.Api/Playback/Progressive/AudioService.cs | |
| parent | 6d3849d98da80e36101e11abd1d96fff075fd216 (diff) | |
subtitle extraction fixes
Diffstat (limited to 'MediaBrowser.Api/Playback/Progressive/AudioService.cs')
| -rw-r--r-- | MediaBrowser.Api/Playback/Progressive/AudioService.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Playback/Progressive/AudioService.cs b/MediaBrowser.Api/Playback/Progressive/AudioService.cs index 50c8210fa..f5a95d898 100644 --- a/MediaBrowser.Api/Playback/Progressive/AudioService.cs +++ b/MediaBrowser.Api/Playback/Progressive/AudioService.cs @@ -37,6 +37,14 @@ namespace MediaBrowser.Api.Playback.Progressive /// </summary> public class AudioService : BaseProgressiveStreamingService { + /// <summary> + /// Initializes a new instance of the <see cref="AudioService"/> class. + /// </summary> + /// <param name="appPaths">The app paths.</param> + /// <param name="userManager">The user manager.</param> + /// <param name="libraryManager">The library manager.</param> + /// <param name="isoManager">The iso manager.</param> + /// <param name="mediaEncoder">The media encoder.</param> public AudioService(IServerApplicationPaths appPaths, IUserManager userManager, ILibraryManager libraryManager, IIsoManager isoManager, IMediaEncoder mediaEncoder) : base(appPaths, userManager, libraryManager, isoManager, mediaEncoder) { @@ -67,9 +75,10 @@ namespace MediaBrowser.Api.Playback.Progressive /// </summary> /// <param name="outputPath">The output path.</param> /// <param name="state">The state.</param> + /// <param name="performSubtitleConversions">if set to <c>true</c> [perform subtitle conversions].</param> /// <returns>System.String.</returns> /// <exception cref="System.InvalidOperationException">Only aac and mp3 audio codecs are supported.</exception> - protected override string GetCommandLineArguments(string outputPath, StreamState state) + protected override string GetCommandLineArguments(string outputPath, StreamState state, bool performSubtitleConversions) { var request = state.Request; |
