The Free Software Media System - Server Backend & API
added detail page indicator for missing
Luke Pulverenti0eec819ca70a
diff --git a/MediaBrowser.Server.Implementations/Dto/DtoService.cs b/MediaBrowser.Server.Implementations/Dto/DtoService.csindex 153639a000..fea49880e1 100644--- a/MediaBrowser.Server.Implementations/Dto/DtoService.cs+++ b/MediaBrowser.Server.Implementations/Dto/DtoService.cs@@ -1075,7 +1075,7 @@ namespace MediaBrowser.Server.Implementations.Dtodouble totalPercentPlayed = 0;// Loop through each recursive child- foreach (var child in folder.GetRecursiveChildren(user, i => !i.IsFolder))+ foreach (var child in folder.GetRecursiveChildren(user, i => !i.IsFolder && i.LocationType != LocationType.Virtual)){var userdata = _userDataRepository.GetUserData(user.Id, child.GetUserDataKey());diff --git a/MediaBrowser.Server.Implementations/Providers/ImageSaver.cs b/MediaBrowser.Server.Implementations/Providers/ImageSaver.csindex 5827b211cf..331dea4027 100644--- a/MediaBrowser.Server.Implementations/Providers/ImageSaver.cs+++ b/MediaBrowser.Server.Implementations/Providers/ImageSaver.cs@@ -408,7 +408,7 @@ namespace MediaBrowser.Server.Implementations.Providersreturn new[] { Path.Combine(seriesFolder, imageFilename) };}-+return new[]{Path.Combine(item.MetaLocation, "fanart" + extension)@@ -426,13 +426,6 @@ namespace MediaBrowser.Server.Implementations.Providersif (type == ImageType.Primary){- if (item is Series)- {- var imageFilename = "poster" + extension;-- return new[] { Path.Combine(item.Path, imageFilename) };- }-if (item is Season && item.IndexNumber.HasValue){var seriesFolder = Path.GetDirectoryName(item.Path);@@ -460,7 +453,7 @@ namespace MediaBrowser.Server.Implementations.Providersreturn new[] { GetSavePathForItemInMixedFolder(item, type, string.Empty, extension) };}- var filename = Path.GetFileNameWithoutExtension(item.Path) + "-poster" + extension;+ var filename = "poster" + extension;return new[] { Path.Combine(item.MetaLocation, filename) };}diff --git a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csprojindex 741627d283..5ed3544c62 100644--- a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj+++ b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj@@ -92,6 +92,9 @@<Content Include="dashboard-ui\css\images\editor\lock.png"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>+ <Content Include="dashboard-ui\css\images\editor\missing.png">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content><Content Include="dashboard-ui\css\images\editor\missingbackdrop.png"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>