diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-03-31 17:04:22 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-03-31 17:04:22 -0400 |
| commit | bb5386bb3a8b71406728f8bd2249cf6e02a34ed2 (patch) | |
| tree | 7fddf86baf42e93c7544053b30e215aaec8ac1c2 /MediaBrowser.Api/Playback/BaseStreamingService.cs | |
| parent | c0801e4f6de87f6a14409b7f399cfd52b3ce88e8 (diff) | |
added more remote control commands
Diffstat (limited to 'MediaBrowser.Api/Playback/BaseStreamingService.cs')
| -rw-r--r-- | MediaBrowser.Api/Playback/BaseStreamingService.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs index 5ed77356b..e6ec38846 100644 --- a/MediaBrowser.Api/Playback/BaseStreamingService.cs +++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs @@ -734,7 +734,9 @@ namespace MediaBrowser.Api.Playback { if (audioStream != null) { - if (audioStream.Channels > 2 && string.Equals(request.AudioCodec, "wma", StringComparison.OrdinalIgnoreCase)) + var codec = request.AudioCodec ?? string.Empty; + + if (audioStream.Channels > 2 && codec.IndexOf("wma", StringComparison.OrdinalIgnoreCase) != -1) { // wmav2 currently only supports two channel output return 2; |
