The Free Software Media System - Server Backend & API
fixed latest tv. movie progress.
Luke Pulverentic957f202cc1f
diff --git a/MediaBrowser.Server.Implementations/Sorting/DatePlayedComparer.cs b/MediaBrowser.Server.Implementations/Sorting/DatePlayedComparer.csindex db7e455c79..c37b6b4a47 100644--- a/MediaBrowser.Server.Implementations/Sorting/DatePlayedComparer.cs+++ b/MediaBrowser.Server.Implementations/Sorting/DatePlayedComparer.cs@@ -41,7 +41,7 @@ namespace MediaBrowser.Server.Implementations.Sortingreturn userdata.LastPlayedDate.Value;}- return DateTime.MaxValue;+ return DateTime.MinValue;}/// <summary>diff --git a/MediaBrowser.Server.Implementations/Sorting/PremiereDateComparer.cs b/MediaBrowser.Server.Implementations/Sorting/PremiereDateComparer.csindex fcbc58987d..ef589e1fa6 100644--- a/MediaBrowser.Server.Implementations/Sorting/PremiereDateComparer.cs+++ b/MediaBrowser.Server.Implementations/Sorting/PremiereDateComparer.cs@@ -37,7 +37,7 @@ namespace MediaBrowser.Server.Implementations.Sorting{return new DateTime(x.ProductionYear.Value, 1, 1, 0, 0, 0, DateTimeKind.Utc);}- return DateTime.MaxValue;+ return DateTime.MinValue;}/// <summary>diff --git a/MediaBrowser.WebDashboard/Api/DashboardService.cs b/MediaBrowser.WebDashboard/Api/DashboardService.csindex 5e3ade1866..b80b1bffd7 100644--- a/MediaBrowser.WebDashboard/Api/DashboardService.cs+++ b/MediaBrowser.WebDashboard/Api/DashboardService.cs@@ -459,6 +459,7 @@ namespace MediaBrowser.WebDashboard.Api"addpluginpage.js","advancedconfigurationpage.js","advancedmetadataconfigurationpage.js",+ "boxsets.js","plugincatalogpage.js","dashboardpage.js","displaysettingspage.js",@@ -467,6 +468,7 @@ namespace MediaBrowser.WebDashboard.Api"itembynamedetailpage.js","itemdetailpage.js","itemlistpage.js",+ "librarybrowser.js","loginpage.js","logpage.js","medialibrarypage.js",@@ -480,6 +482,7 @@ namespace MediaBrowser.WebDashboard.Api"scheduledtaskpage.js","scheduledtaskspage.js","tvrecommended.js",+ "tvshows.js","updatepasswordpage.js","userimagepage.js","userprofilespage.js",diff --git a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csprojindex 1dbffdbbf6..d3c522fbf5 100644--- a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj+++ b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj@@ -84,6 +84,9 @@</ItemGroup><ItemGroup><EmbeddedResource Include="ApiClient.js" />+ <Content Include="dashboard-ui\boxsets.html">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content><Content Include="dashboard-ui\css\images\bgflip.png"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>@@ -186,9 +189,15 @@<Content Include="dashboard-ui\musicrecommended.html"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>+ <Content Include="dashboard-ui\scripts\boxsets.js">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content><Content Include="dashboard-ui\scripts\itembynamedetailpage.js"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>+ <Content Include="dashboard-ui\scripts\librarybrowser.js">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content><Content Include="dashboard-ui\scripts\movies.js"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>@@ -221,6 +230,9 @@<Content Include="dashboard-ui\scripts\tvrecommended.js"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>+ <Content Include="dashboard-ui\scripts\tvshows.js">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content><Content Include="dashboard-ui\thirdparty\jplayer\jplayer.playlist.min.js"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>@@ -233,6 +245,9 @@<Content Include="dashboard-ui\tvrecommended.html"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>+ <Content Include="dashboard-ui\tvshows.html">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content><Content Include="dashboard-ui\userprofiles.html"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>