The Free Software Media System - Server Backend & API
add dlna pause fix
Luke Pulverentid7cfa0d22cad
diff --git a/MediaBrowser.Api/UserLibrary/ItemsService.cs b/MediaBrowser.Api/UserLibrary/ItemsService.csindex ec00be9882..44c2249896 100644--- a/MediaBrowser.Api/UserLibrary/ItemsService.cs+++ b/MediaBrowser.Api/UserLibrary/ItemsService.cs@@ -318,7 +318,7 @@ namespace MediaBrowser.Api.UserLibraryitems = items.AsEnumerable();- if (request.CollapseBoxSetItems)+ if (request.CollapseBoxSetItems && AllowBoxSetCollapsing(request)){items = CollapseItemsWithinBoxSets(items, user);}diff --git a/MediaBrowser.Dlna/PlayTo/Device.cs b/MediaBrowser.Dlna/PlayTo/Device.csindex 4120c1a7f3..2e092a939a 100644--- a/MediaBrowser.Dlna/PlayTo/Device.cs+++ b/MediaBrowser.Dlna/PlayTo/Device.cs@@ -364,7 +364,7 @@ namespace MediaBrowser.Dlna.PlayTovar service = Properties.Services.FirstOrDefault(s => s.ServiceId == ServiceAvtransportId);- var result = await new SsdpHttpClient(_httpClient, _config).SendCommandAsync(Properties.BaseUrl, service, command.Name, RendererCommands.BuildPost(command, service.ServiceType, 0))+ var result = await new SsdpHttpClient(_httpClient, _config).SendCommandAsync(Properties.BaseUrl, service, command.Name, RendererCommands.BuildPost(command, service.ServiceType, 1)).ConfigureAwait(false);await Task.Delay(50).ConfigureAwait(false);diff --git a/MediaBrowser.WebDashboard/Api/DashboardService.cs b/MediaBrowser.WebDashboard/Api/DashboardService.csindex e5127a07a3..8d54a64e91 100644--- a/MediaBrowser.WebDashboard/Api/DashboardService.cs+++ b/MediaBrowser.WebDashboard/Api/DashboardService.cs@@ -464,6 +464,7 @@ namespace MediaBrowser.WebDashboard.Api"editorsidebar.js","librarymenu.js",//"chromecast.js",+ "contextmenu.js","ratingdialog.js","aboutpage.js",@@ -584,7 +585,7 @@ namespace MediaBrowser.WebDashboard.Apiawait memoryStream.WriteAsync(newLineBytes, 0, newLineBytes.Length).ConfigureAwait(false);await AppendResource(memoryStream, "thirdparty/autonumeric/autoNumeric.min.js", newLineBytes).ConfigureAwait(false);-+var assembly = GetType().Assembly;await AppendResource(assembly, memoryStream, "MediaBrowser.WebDashboard.ApiClient.js", newLineBytes).ConfigureAwait(false);@@ -607,6 +608,7 @@ namespace MediaBrowser.WebDashboard.Api{"site.css","chromecast.css",+ "contextmenu.css","mediaplayer.css","librarybrowser.css","detailtable.css",@@ -630,7 +632,7 @@ namespace MediaBrowser.WebDashboard.Api{await AppendResource(memoryStream, "css/" + file, newLineBytes).ConfigureAwait(false);}-+memoryStream.Position = 0;return memoryStream;}diff --git a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csprojindex 90a8cedd34..04ce347fb6 100644--- a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj+++ b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj@@ -96,6 +96,9 @@<Content Include="dashboard-ui\css\chromecast.css"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>+ <Content Include="dashboard-ui\css\contextmenu.css">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content><Content Include="dashboard-ui\css\icons.css"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>@@ -488,6 +491,9 @@<Content Include="dashboard-ui\scripts\chromecast.js"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>+ <Content Include="dashboard-ui\scripts\contextmenu.js">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content><Content Include="dashboard-ui\scripts\dashboardinfo.js"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>@@ -552,7 +558,7 @@<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content><Content Include="dashboard-ui\scripts\mediaplayer-video.js">- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content><Content Include="dashboard-ui\scripts\movieslatest.js"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>diff --git a/Nuget/MediaBrowser.Common.Internal.nuspec b/Nuget/MediaBrowser.Common.Internal.nuspecindex 9ffd2c3e26..38422d5452 100644--- a/Nuget/MediaBrowser.Common.Internal.nuspec+++ b/Nuget/MediaBrowser.Common.Internal.nuspec@@ -2,7 +2,7 @@<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"><metadata><id>MediaBrowser.Common.Internal</id>- <version>3.0.340</version>+ <version>3.0.341</version><title>MediaBrowser.Common.Internal</title><authors>Luke</authors><owners>ebr,Luke,scottisafool</owners>@@ -12,7 +12,7 @@<description>Contains common components shared by Media Browser Theater and Media Browser Server. Not intended for plugin developer consumption.</description><copyright>Copyright © Media Browser 2013</copyright><dependencies>- <dependency id="MediaBrowser.Common" version="3.0.340" />+ <dependency id="MediaBrowser.Common" version="3.0.341" /><dependency id="NLog" version="2.1.0" /><dependency id="SimpleInjector" version="2.4.1" /><dependency id="sharpcompress" version="0.10.2" />diff --git a/Nuget/MediaBrowser.Common.nuspec b/Nuget/MediaBrowser.Common.nuspecindex 49d410c578..fd83505a17 100644--- a/Nuget/MediaBrowser.Common.nuspec+++ b/Nuget/MediaBrowser.Common.nuspec@@ -2,7 +2,7 @@<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"><metadata><id>MediaBrowser.Common</id>- <version>3.0.340</version>+ <version>3.0.341</version><title>MediaBrowser.Common</title><authors>Media Browser Team</authors><owners>ebr,Luke,scottisafool</owners>diff --git a/Nuget/MediaBrowser.Server.Core.nuspec b/Nuget/MediaBrowser.Server.Core.nuspecindex acbce81ae6..bef95570ea 100644--- a/Nuget/MediaBrowser.Server.Core.nuspec+++ b/Nuget/MediaBrowser.Server.Core.nuspec@@ -2,7 +2,7 @@<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"><metadata><id>MediaBrowser.Server.Core</id>- <version>3.0.340</version>+ <version>3.0.341</version><title>Media Browser.Server.Core</title><authors>Media Browser Team</authors><owners>ebr,Luke,scottisafool</owners>@@ -12,7 +12,7 @@<description>Contains core components required to build plugins for Media Browser Server.</description><copyright>Copyright © Media Browser 2013</copyright><dependencies>- <dependency id="MediaBrowser.Common" version="3.0.340" />+ <dependency id="MediaBrowser.Common" version="3.0.341" /></dependencies></metadata><files>