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 TmdbFetchedProfileSize = "original"; //w185 w45 h632 or original
TmdbFetchedPosterSize = "original"; //w500, w342, w185 or original TmdbFetchedPosterSize = "original"; //w500, w342, w185 or original
TmdbFetchedBackdropSize = "original"; //w1280, w780 or original TmdbFetchedBackdropSize = "original"; //w1280, w780 or original
DownloadMovieImages = new ImageDownloadOptions {Backdrops = true, Primary = true}; DownloadMovieImages = new ImageDownloadOptions();
DownloadSeriesImages = new ImageDownloadOptions {Backdrops = true, Primary = true, Banner = true, Logo = true}; DownloadSeriesImages = new ImageDownloadOptions();
DownloadSeasonImages = new ImageDownloadOptions {Backdrops = false, Primary = true, Banner = true}; DownloadSeasonImages = new ImageDownloadOptions();
DownloadMusicArtistImages = new ImageDownloadOptions {Backdrops = true, Primary = true, Banner = true, Thumb = true}; DownloadMusicArtistImages = new ImageDownloadOptions();
DownloadMusicAlbumImages = new ImageDownloadOptions {Backdrops = true, Primary = false}; DownloadMusicAlbumImages = new ImageDownloadOptions();
DownloadHDFanArt = true; DownloadHDFanArt = true;
MaxBackdrops = 4; MaxBackdrops = 4;
SortReplaceCharacters = new [] { ".", "+", "%" }; SortReplaceCharacters = new[] { ".", "+", "%" };
SortRemoveCharacters = new [] { ",", "&", "-", "{", "}", "'" }; SortRemoveCharacters = new[] { ",", "&", "-", "{", "}", "'" };
SortRemoveWords = new [] { "the", "a", "an" }; SortRemoveWords = new[] { "the", "a", "an" };
} }
} }
} }

View File

@ -1,42 +1,65 @@
 
namespace MediaBrowser.Model.Entities namespace MediaBrowser.Model.Entities
{ {
/// <summary>
/// Class ImageDownloadOptions
/// </summary>
public class ImageDownloadOptions public class ImageDownloadOptions
{ {
/// <summary> /// <summary>
/// Download Art Image /// Download Art Image
/// </summary> /// </summary>
/// <value><c>true</c> if art; otherwise, <c>false</c>.</value>
public bool Art { get; set; } public bool Art { get; set; }
/// <summary> /// <summary>
/// Download Logo Image /// Download Logo Image
/// </summary> /// </summary>
/// <value><c>true</c> if logo; otherwise, <c>false</c>.</value>
public bool Logo { get; set; } public bool Logo { get; set; }
/// <summary> /// <summary>
/// Download Primary Image /// Download Primary Image
/// </summary> /// </summary>
/// <value><c>true</c> if primary; otherwise, <c>false</c>.</value>
public bool Primary { get; set; } public bool Primary { get; set; }
/// <summary> /// <summary>
/// Download Backdrop Images /// Download Backdrop Images
/// </summary> /// </summary>
/// <value><c>true</c> if backdrops; otherwise, <c>false</c>.</value>
public bool Backdrops { get; set; } public bool Backdrops { get; set; }
/// <summary> /// <summary>
/// Download Disc Image /// Download Disc Image
/// </summary> /// </summary>
/// <value><c>true</c> if disc; otherwise, <c>false</c>.</value>
public bool Disc { get; set; } public bool Disc { get; set; }
/// <summary> /// <summary>
/// Download Thumb Image /// Download Thumb Image
/// </summary> /// </summary>
/// <value><c>true</c> if thumb; otherwise, <c>false</c>.</value>
public bool Thumb { get; set; } public bool Thumb { get; set; }
/// <summary> /// <summary>
/// Download Banner Image /// Download Banner Image
/// </summary> /// </summary>
/// <value><c>true</c> if banner; otherwise, <c>false</c>.</value>
public bool Banner { get; set; } 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"> <Content Include="dashboard-ui\scripts\movietrailers.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </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"> <Content Include="dashboard-ui\scripts\playlist.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>