add artist links on song page

pull/702/head
Luke Pulverenti 12 years ago
parent 4d9983a265
commit 413febb831

@ -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");

Loading…
Cancel
Save