|
|
|
@ -102,7 +102,9 @@ namespace MediaBrowser.Server.Implementations.ScheduledTasks
|
|
|
|
|
|
|
|
|
|
var album = item.Parent as MusicAlbum;
|
|
|
|
|
|
|
|
|
|
var filename = album != null && string.IsNullOrEmpty(item.Album + album.DateModified.Ticks) ? (item.Id.ToString() + item.DateModified.Ticks) : item.Album;
|
|
|
|
|
var filename = item.Album ?? string.Empty;
|
|
|
|
|
|
|
|
|
|
filename += album == null ? item.Id.ToString() + item.DateModified.Ticks : album.Id.ToString() + album.DateModified.Ticks;
|
|
|
|
|
|
|
|
|
|
var path = ImageCache.GetResourcePath(filename + "_primary", ".jpg");
|
|
|
|
|
|
|
|
|
|