diff options
| author | Luke <luke.pulverenti@gmail.com> | 2014-04-09 08:42:50 -0400 |
|---|---|---|
| committer | Luke <luke.pulverenti@gmail.com> | 2014-04-09 08:42:50 -0400 |
| commit | f657e2981cb928720eb728790697c0653cb7344f (patch) | |
| tree | 7825959577af1bce0fce1fc603645e984b6b1c2d | |
| parent | d1a9d42eaf486b84e7d77ace69a9607fca76c317 (diff) | |
| parent | 8f7d14eabb8c078071d2324a75cad193b9c37a0c (diff) | |
Merge pull request #776 from 7illusions/master
PlayTo Error 500 fix
| -rw-r--r-- | MediaBrowser.Dlna/PlayTo/Device.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MediaBrowser.Dlna/PlayTo/Device.cs b/MediaBrowser.Dlna/PlayTo/Device.cs index 1c243b6d3..054b7e136 100644 --- a/MediaBrowser.Dlna/PlayTo/Device.cs +++ b/MediaBrowser.Dlna/PlayTo/Device.cs @@ -337,7 +337,7 @@ namespace MediaBrowser.Dlna.PlayTo throw new InvalidOperationException("Unable to find service"); } - var result = await new SsdpHttpClient(_httpClient, _config).SendCommandAsync(Properties.BaseUrl, service, command.Name, RendererCommands.BuildPost(command, service.ServiceType, 1)) + var result = await new SsdpHttpClient(_httpClient, _config).SendCommandAsync(Properties.BaseUrl, service, command.Name, AvCommands.BuildPost(command, service.ServiceType, 1)) .ConfigureAwait(false); _lapsCount = GetLapsCount(); @@ -352,7 +352,7 @@ namespace MediaBrowser.Dlna.PlayTo var service = Properties.Services.FirstOrDefault(s => s.ServiceType == ServiceAvtransportType); - var result = await new SsdpHttpClient(_httpClient, _config).SendCommandAsync(Properties.BaseUrl, service, command.Name, RendererCommands.BuildPost(command, service.ServiceType, 1)) + var result = await new SsdpHttpClient(_httpClient, _config).SendCommandAsync(Properties.BaseUrl, service, command.Name, AvCommands.BuildPost(command, service.ServiceType, 1)) .ConfigureAwait(false); await Task.Delay(50).ConfigureAwait(false); return true; @@ -366,7 +366,7 @@ namespace MediaBrowser.Dlna.PlayTo var service = Properties.Services.FirstOrDefault(s => s.ServiceType == ServiceAvtransportType); - var result = await new SsdpHttpClient(_httpClient, _config).SendCommandAsync(Properties.BaseUrl, service, command.Name, RendererCommands.BuildPost(command, service.ServiceType, 1)) + var result = await new SsdpHttpClient(_httpClient, _config).SendCommandAsync(Properties.BaseUrl, service, command.Name, AvCommands.BuildPost(command, service.ServiceType, 1)) .ConfigureAwait(false); await Task.Delay(50).ConfigureAwait(false); |
