forgot to mark file copy if newer

This commit is contained in:
Luke Pulverenti 2013-04-20 12:29:50 -04:00
parent 333935f3f6
commit 6a5d6b5d4c
3 changed files with 34 additions and 9 deletions

View File

@ -243,17 +243,17 @@ namespace MediaBrowser.Model.Configuration
TmdbFetchedProfileSize = "original"; //w185 w45 h632 or original
TmdbFetchedPosterSize = "original"; //w500, w342, w185 or original
TmdbFetchedBackdropSize = "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" };
}
}
}

View File

@ -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;
}
}
}

View File

@ -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>