add artist links on song page
This commit is contained in:
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…
Reference in New Issue
Block a user