From e33244d7971f0299cd21297597da6181d01631e9 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 29 Oct 2014 18:01:02 -0400 Subject: [PATCH] improve user view images --- MediaBrowser.Api/MediaBrowser.Api.csproj | 7 + ...MediaBrowser.Common.Implementations.csproj | 7 + MediaBrowser.Controller/Entities/BaseItem.cs | 9 + MediaBrowser.Controller/Entities/UserView.cs | 11 +- .../Entities/UserViewBuilder.cs | 147 ++++---- .../Library/ILibraryManager.cs | 19 +- .../Library/IUserViewManager.cs | 2 +- .../MediaBrowser.Controller.csproj | 7 + .../MediaBrowser.MediaEncoding.csproj | 7 + .../MediaBrowser.Model.Portable.csproj | 7 + MediaBrowser.Model/Entities/CollectionType.cs | 5 +- MediaBrowser.Model/MediaBrowser.Model.csproj | 7 + .../FolderImages/DefaultImageProvider.cs | 9 +- .../Folders/UserViewMetadataService.cs | 33 ++ .../Manager/ProviderManager.cs | 2 +- .../MediaBrowser.Providers.csproj | 8 + .../Library/LibraryManager.cs | 107 +++++- .../Library/UserViewManager.cs | 22 +- .../Localization/Server/server.json | 7 +- ...MediaBrowser.Server.Implementations.csproj | 10 + .../Music/MusicDynamicImageProvider.cs | 90 +++++ .../Photos/BaseDynamicImageProvider.cs | 189 ++++++++++ .../Photos/DynamicImageHelpers.cs | 147 ++++++++ .../Photos/PhotoAlbumImageProvider.cs | 332 +----------------- .../Playlists/PlaylistImageProvider.cs | 291 +-------------- .../MediaBrowser.Server.Mono.csproj | 7 + .../MediaBrowser.ServerApplication.csproj | 7 + .../Api/PackageCreator.cs | 2 + .../MediaBrowser.WebDashboard.csproj | 19 + 29 files changed, 792 insertions(+), 725 deletions(-) create mode 100644 MediaBrowser.Providers/Folders/UserViewMetadataService.cs create mode 100644 MediaBrowser.Server.Implementations/Music/MusicDynamicImageProvider.cs create mode 100644 MediaBrowser.Server.Implementations/Photos/BaseDynamicImageProvider.cs create mode 100644 MediaBrowser.Server.Implementations/Photos/DynamicImageHelpers.cs diff --git a/MediaBrowser.Api/MediaBrowser.Api.csproj b/MediaBrowser.Api/MediaBrowser.Api.csproj index b233629e1f..5d8a24f9ab 100644 --- a/MediaBrowser.Api/MediaBrowser.Api.csproj +++ b/MediaBrowser.Api/MediaBrowser.Api.csproj @@ -172,6 +172,13 @@ + + + + This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + +