fixed latest tv. movie progress.

This commit is contained in:
Luke Pulverenti 2013-04-01 23:28:20 -04:00
parent d80f62c0da
commit c957f202cc
4 changed files with 20 additions and 2 deletions

View File

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

View File

@ -37,7 +37,7 @@ namespace MediaBrowser.Server.Implementations.Sorting
{ {
return new DateTime(x.ProductionYear.Value, 1, 1, 0, 0, 0, DateTimeKind.Utc); return new DateTime(x.ProductionYear.Value, 1, 1, 0, 0, 0, DateTimeKind.Utc);
} }
return DateTime.MaxValue; return DateTime.MinValue;
} }
/// <summary> /// <summary>

View File

@ -459,6 +459,7 @@ namespace MediaBrowser.WebDashboard.Api
"addpluginpage.js", "addpluginpage.js",
"advancedconfigurationpage.js", "advancedconfigurationpage.js",
"advancedmetadataconfigurationpage.js", "advancedmetadataconfigurationpage.js",
"boxsets.js",
"plugincatalogpage.js", "plugincatalogpage.js",
"dashboardpage.js", "dashboardpage.js",
"displaysettingspage.js", "displaysettingspage.js",
@ -467,6 +468,7 @@ namespace MediaBrowser.WebDashboard.Api
"itembynamedetailpage.js", "itembynamedetailpage.js",
"itemdetailpage.js", "itemdetailpage.js",
"itemlistpage.js", "itemlistpage.js",
"librarybrowser.js",
"loginpage.js", "loginpage.js",
"logpage.js", "logpage.js",
"medialibrarypage.js", "medialibrarypage.js",
@ -480,6 +482,7 @@ namespace MediaBrowser.WebDashboard.Api
"scheduledtaskpage.js", "scheduledtaskpage.js",
"scheduledtaskspage.js", "scheduledtaskspage.js",
"tvrecommended.js", "tvrecommended.js",
"tvshows.js",
"updatepasswordpage.js", "updatepasswordpage.js",
"userimagepage.js", "userimagepage.js",
"userprofilespage.js", "userprofilespage.js",

View File

@ -84,6 +84,9 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<EmbeddedResource Include="ApiClient.js" /> <EmbeddedResource Include="ApiClient.js" />
<Content Include="dashboard-ui\boxsets.html">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="dashboard-ui\css\images\bgflip.png"> <Content Include="dashboard-ui\css\images\bgflip.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
@ -186,9 +189,15 @@
<Content Include="dashboard-ui\musicrecommended.html"> <Content Include="dashboard-ui\musicrecommended.html">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
<Content Include="dashboard-ui\scripts\boxsets.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="dashboard-ui\scripts\itembynamedetailpage.js"> <Content Include="dashboard-ui\scripts\itembynamedetailpage.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
<Content Include="dashboard-ui\scripts\librarybrowser.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="dashboard-ui\scripts\movies.js"> <Content Include="dashboard-ui\scripts\movies.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
@ -221,6 +230,9 @@
<Content Include="dashboard-ui\scripts\tvrecommended.js"> <Content Include="dashboard-ui\scripts\tvrecommended.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
<Content Include="dashboard-ui\scripts\tvshows.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="dashboard-ui\thirdparty\jplayer\jplayer.playlist.min.js"> <Content Include="dashboard-ui\thirdparty\jplayer\jplayer.playlist.min.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
@ -233,6 +245,9 @@
<Content Include="dashboard-ui\tvrecommended.html"> <Content Include="dashboard-ui\tvrecommended.html">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
<Content Include="dashboard-ui\tvshows.html">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="dashboard-ui\userprofiles.html"> <Content Include="dashboard-ui\userprofiles.html">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>