web client backdrops
This commit is contained in:
parent
40272d4a5c
commit
62ffe2c59d
|
@ -325,12 +325,6 @@ namespace MediaBrowser.Model.Dto
|
|||
/// <value>The user data.</value>
|
||||
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>
|
||||
/// Gets or sets the played percentage.
|
||||
/// </summary>
|
||||
|
|
|
@ -413,7 +413,7 @@ namespace MediaBrowser.Providers.MediaInfo
|
|||
{
|
||||
get
|
||||
{
|
||||
return new[] { ".srt", ".ssa", ".ass" };
|
||||
return new[] { ".srt", ".ssa", ".ass", ".sub" };
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1419,7 +1419,6 @@ namespace MediaBrowser.Server.Implementations.Dto
|
|||
/// <returns>Task.</returns>
|
||||
private void SetSpecialCounts(Folder folder, User user, BaseItemDto dto, List<ItemFields> fields)
|
||||
{
|
||||
var rcentlyAddedItemCount = 0;
|
||||
var recursiveItemCount = 0;
|
||||
var unplayed = 0;
|
||||
long runtime = 0;
|
||||
|
@ -1456,12 +1455,6 @@ namespace MediaBrowser.Server.Implementations.Dto
|
|||
|
||||
recursiveItemCount++;
|
||||
|
||||
// Check is recently added
|
||||
//if (child.IsRecentlyAdded())
|
||||
//{
|
||||
// rcentlyAddedItemCount++;
|
||||
//}
|
||||
|
||||
var isUnplayed = true;
|
||||
|
||||
// Incrememt totalPercentPlayed
|
||||
|
@ -1490,7 +1483,6 @@ namespace MediaBrowser.Server.Implementations.Dto
|
|||
}
|
||||
|
||||
dto.RecursiveItemCount = recursiveItemCount;
|
||||
dto.RecentlyAddedItemCount = rcentlyAddedItemCount;
|
||||
dto.RecursiveUnplayedItemCount = unplayed;
|
||||
|
||||
if (recursiveItemCount > 0)
|
||||
|
|
|
@ -285,10 +285,13 @@
|
|||
"PasswordLocalhostMessage": "Passwords are not required when logging in from localhost.",
|
||||
"TabGuide": "Guide",
|
||||
"TabChannels": "Channels",
|
||||
"TabCollections": "Collections",
|
||||
"HeaderChannels": "Channels",
|
||||
"TabRecordings": "Recordings",
|
||||
"TabScheduled": "Scheduled",
|
||||
"TabSeries": "Series",
|
||||
"TabFavorites": "Favorites",
|
||||
"TabMyLibrary": "My Library",
|
||||
"ButtonCancelRecording": "Cancel Recording",
|
||||
"HeaderPrePostPadding": "Pre/Post Padding",
|
||||
"LabelPrePaddingMinutes": "Pre-padding minutes:",
|
||||
|
|
|
@ -518,6 +518,7 @@ namespace MediaBrowser.WebDashboard.Api
|
|||
"mediacontroller.js",
|
||||
"chromecast.js",
|
||||
"contextmenu.js",
|
||||
"backdrops.js",
|
||||
|
||||
"mediaplayer.js",
|
||||
"mediaplayer-video.js",
|
||||
|
|
|
@ -166,6 +166,18 @@
|
|||
<Content Include="dashboard-ui\css\images\favicon.ico">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</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">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
@ -253,6 +265,9 @@
|
|||
<Content Include="dashboard-ui\css\images\media\tvflyout.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\css\images\remote.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\css\librarymenu.css">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
@ -565,6 +580,9 @@
|
|||
<Content Include="dashboard-ui\scripts\appsplayback.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\scripts\backdrops.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\scripts\channelitems.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
|
Loading…
Reference in New Issue
Block a user