update to fanart music api changes
This commit is contained in:
parent
9bfe68c535
commit
a32e611aa4
|
@ -310,7 +310,7 @@ namespace MediaBrowser.Providers.Music
|
||||||
if (ConfigurationManager.Configuration.DownloadMusicArtistImages.Logo && !item.HasImage(ImageType.Logo))
|
if (ConfigurationManager.Configuration.DownloadMusicArtistImages.Logo && !item.HasImage(ImageType.Logo))
|
||||||
{
|
{
|
||||||
var node =
|
var node =
|
||||||
doc.SelectSingleNode("//fanart/music/musiclogos/hdmusiclogo/@url") ??
|
doc.SelectSingleNode("//fanart/music/hdmusiclogos/hdmusiclogo/@url") ??
|
||||||
doc.SelectSingleNode("//fanart/music/musiclogos/musiclogo/@url");
|
doc.SelectSingleNode("//fanart/music/musiclogos/musiclogo/@url");
|
||||||
path = node != null ? node.Value : null;
|
path = node != null ? node.Value : null;
|
||||||
if (!string.IsNullOrEmpty(path))
|
if (!string.IsNullOrEmpty(path))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user