The Free Software Media System - Server Backend & API
forgot to mark file copy if newer
Luke Pulverenti6a5d6b5d4c7f
diff --git a/MediaBrowser.Model/Configuration/ServerConfiguration.cs b/MediaBrowser.Model/Configuration/ServerConfiguration.csindex ab7d7cb9da..554e7afd15 100644--- a/MediaBrowser.Model/Configuration/ServerConfiguration.cs+++ b/MediaBrowser.Model/Configuration/ServerConfiguration.cs@@ -243,17 +243,17 @@ namespace MediaBrowser.Model.ConfigurationTmdbFetchedProfileSize = "original"; //w185 w45 h632 or originalTmdbFetchedPosterSize = "original"; //w500, w342, w185 or originalTmdbFetchedBackdropSize = "original"; //w1280, w780 or original- DownloadMovieImages = new ImageDownloadOptions {Backdrops = true, Primary = true};- DownloadSeriesImages = new ImageDownloadOptions {Backdrops = true, Primary = true, Banner = true, Logo = true};- DownloadSeasonImages = new ImageDownloadOptions {Backdrops = false, Primary = true, Banner = true};- DownloadMusicArtistImages = new ImageDownloadOptions {Backdrops = true, Primary = true, Banner = true, Thumb = true};- DownloadMusicAlbumImages = new ImageDownloadOptions {Backdrops = true, Primary = false};+ DownloadMovieImages = new ImageDownloadOptions();+ DownloadSeriesImages = new ImageDownloadOptions();+ DownloadSeasonImages = new ImageDownloadOptions();+ DownloadMusicArtistImages = new ImageDownloadOptions();+ DownloadMusicAlbumImages = new ImageDownloadOptions();DownloadHDFanArt = true;MaxBackdrops = 4;- SortReplaceCharacters = new [] { ".", "+", "%" };- SortRemoveCharacters = new [] { ",", "&", "-", "{", "}", "'" };- SortRemoveWords = new [] { "the", "a", "an" };+ SortReplaceCharacters = new[] { ".", "+", "%" };+ SortRemoveCharacters = new[] { ",", "&", "-", "{", "}", "'" };+ SortRemoveWords = new[] { "the", "a", "an" };}}}diff --git a/MediaBrowser.Model/Entities/ImageDownloadOptions.cs b/MediaBrowser.Model/Entities/ImageDownloadOptions.csindex c69c759ac4..92e989a348 100644--- a/MediaBrowser.Model/Entities/ImageDownloadOptions.cs+++ b/MediaBrowser.Model/Entities/ImageDownloadOptions.cs@@ -1,42 +1,65 @@namespace MediaBrowser.Model.Entities{+ /// <summary>+ /// Class ImageDownloadOptions+ /// </summary>public class ImageDownloadOptions{/// <summary>/// Download Art Image/// </summary>+ /// <value><c>true</c> if art; otherwise, <c>false</c>.</value>public bool Art { get; set; }/// <summary>/// Download Logo Image/// </summary>+ /// <value><c>true</c> if logo; otherwise, <c>false</c>.</value>public bool Logo { get; set; }/// <summary>/// Download Primary Image/// </summary>+ /// <value><c>true</c> if primary; otherwise, <c>false</c>.</value>public bool Primary { get; set; }/// <summary>/// Download Backdrop Images/// </summary>+ /// <value><c>true</c> if backdrops; otherwise, <c>false</c>.</value>public bool Backdrops { get; set; }/// <summary>/// Download Disc Image/// </summary>+ /// <value><c>true</c> if disc; otherwise, <c>false</c>.</value>public bool Disc { get; set; }/// <summary>/// Download Thumb Image/// </summary>+ /// <value><c>true</c> if thumb; otherwise, <c>false</c>.</value>public bool Thumb { get; set; }/// <summary>/// Download Banner Image/// </summary>+ /// <value><c>true</c> if banner; otherwise, <c>false</c>.</value>public bool Banner { get; set; }+ /// <summary>+ /// Initializes a new instance of the <see cref="ImageDownloadOptions"/> class.+ /// </summary>+ public ImageDownloadOptions()+ {+ Art = true;+ Logo = true;+ Primary = true;+ Backdrops = true;+ Disc = true;+ Thumb = true;+ Banner = true;+ }}}diff --git a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csprojindex 458b515717..68836a2454 100644--- a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj+++ b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj@@ -288,7 +288,9 @@<Content Include="dashboard-ui\scripts\movietrailers.js"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>- <Content Include="dashboard-ui\scripts\musicgenres.js" />+ <Content Include="dashboard-ui\scripts\musicgenres.js">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content><Content Include="dashboard-ui\scripts\playlist.js"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>