web client backdrops

pull/702/head
Luke Pulverenti 11 years ago
parent 40272d4a5c
commit 62ffe2c59d

@ -325,12 +325,6 @@ namespace MediaBrowser.Model.Dto
/// <value>The user data.</value> /// <value>The user data.</value>
public UserItemDataDto UserData { get; set; } public UserItemDataDto UserData { get; set; }
/// <summary>
/// Gets or sets the recently added item count.
/// </summary>
/// <value>The recently added item count.</value>
public int? RecentlyAddedItemCount { get; set; }
/// <summary> /// <summary>
/// Gets or sets the played percentage. /// Gets or sets the played percentage.
/// </summary> /// </summary>

@ -413,7 +413,7 @@ namespace MediaBrowser.Providers.MediaInfo
{ {
get get
{ {
return new[] { ".srt", ".ssa", ".ass" }; return new[] { ".srt", ".ssa", ".ass", ".sub" };
} }
} }

@ -1419,7 +1419,6 @@ namespace MediaBrowser.Server.Implementations.Dto
/// <returns>Task.</returns> /// <returns>Task.</returns>
private void SetSpecialCounts(Folder folder, User user, BaseItemDto dto, List<ItemFields> fields) private void SetSpecialCounts(Folder folder, User user, BaseItemDto dto, List<ItemFields> fields)
{ {
var rcentlyAddedItemCount = 0;
var recursiveItemCount = 0; var recursiveItemCount = 0;
var unplayed = 0; var unplayed = 0;
long runtime = 0; long runtime = 0;
@ -1456,12 +1455,6 @@ namespace MediaBrowser.Server.Implementations.Dto
recursiveItemCount++; recursiveItemCount++;
// Check is recently added
//if (child.IsRecentlyAdded())
//{
// rcentlyAddedItemCount++;
//}
var isUnplayed = true; var isUnplayed = true;
// Incrememt totalPercentPlayed // Incrememt totalPercentPlayed
@ -1490,7 +1483,6 @@ namespace MediaBrowser.Server.Implementations.Dto
} }
dto.RecursiveItemCount = recursiveItemCount; dto.RecursiveItemCount = recursiveItemCount;
dto.RecentlyAddedItemCount = rcentlyAddedItemCount;
dto.RecursiveUnplayedItemCount = unplayed; dto.RecursiveUnplayedItemCount = unplayed;
if (recursiveItemCount > 0) if (recursiveItemCount > 0)

@ -285,10 +285,13 @@
"PasswordLocalhostMessage": "Passwords are not required when logging in from localhost.", "PasswordLocalhostMessage": "Passwords are not required when logging in from localhost.",
"TabGuide": "Guide", "TabGuide": "Guide",
"TabChannels": "Channels", "TabChannels": "Channels",
"TabCollections": "Collections",
"HeaderChannels": "Channels", "HeaderChannels": "Channels",
"TabRecordings": "Recordings", "TabRecordings": "Recordings",
"TabScheduled": "Scheduled", "TabScheduled": "Scheduled",
"TabSeries": "Series", "TabSeries": "Series",
"TabFavorites": "Favorites",
"TabMyLibrary": "My Library",
"ButtonCancelRecording": "Cancel Recording", "ButtonCancelRecording": "Cancel Recording",
"HeaderPrePostPadding": "Pre/Post Padding", "HeaderPrePostPadding": "Pre/Post Padding",
"LabelPrePaddingMinutes": "Pre-padding minutes:", "LabelPrePaddingMinutes": "Pre-padding minutes:",

@ -518,6 +518,7 @@ namespace MediaBrowser.WebDashboard.Api
"mediacontroller.js", "mediacontroller.js",
"chromecast.js", "chromecast.js",
"contextmenu.js", "contextmenu.js",
"backdrops.js",
"mediaplayer.js", "mediaplayer.js",
"mediaplayer-video.js", "mediaplayer-video.js",

@ -166,6 +166,18 @@
<Content Include="dashboard-ui\css\images\favicon.ico"> <Content Include="dashboard-ui\css\images\favicon.ico">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
<Content Include="dashboard-ui\css\images\headersearch.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="dashboard-ui\css\images\items\folders\edit.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="dashboard-ui\css\images\items\folders\settings.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="dashboard-ui\css\images\menu.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="dashboard-ui\css\images\icons\audiocd.png"> <Content Include="dashboard-ui\css\images\icons\audiocd.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
@ -253,6 +265,9 @@
<Content Include="dashboard-ui\css\images\media\tvflyout.png"> <Content Include="dashboard-ui\css\images\media\tvflyout.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
<Content Include="dashboard-ui\css\images\remote.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="dashboard-ui\css\librarymenu.css"> <Content Include="dashboard-ui\css\librarymenu.css">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
@ -565,6 +580,9 @@
<Content Include="dashboard-ui\scripts\appsplayback.js"> <Content Include="dashboard-ui\scripts\appsplayback.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
<Content Include="dashboard-ui\scripts\backdrops.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="dashboard-ui\scripts\channelitems.js"> <Content Include="dashboard-ui\scripts\channelitems.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>

Loading…
Cancel
Save