add artist links on song page

This commit is contained in:
Luke Pulverenti 2013-04-25 21:52:29 -04:00
parent 4d9983a265
commit 413febb831

View File

@ -102,7 +102,9 @@ namespace MediaBrowser.Server.Implementations.ScheduledTasks
var album = item.Parent as MusicAlbum; 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"); var path = ImageCache.GetResourcePath(filename + "_primary", ".jpg");