浏览代码

fixed latest tv. movie progress.

Luke Pulverenti 12 年之前
父节点
当前提交
c957f202cc

+ 1 - 1
MediaBrowser.Server.Implementations/Sorting/DatePlayedComparer.cs

@@ -41,7 +41,7 @@ namespace MediaBrowser.Server.Implementations.Sorting
                 return userdata.LastPlayedDate.Value;
             }
 
-            return DateTime.MaxValue;
+            return DateTime.MinValue;
         }
 
         /// <summary>

+ 1 - 1
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>

+ 3 - 0
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",

+ 15 - 0
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>