Which version of MP are you on? There was a bug with this functionality thas has been already fixed for 1.2.0b.
Seems to be a new introduced bug...
Seems to be a new introduced bug...
The album/artist lookup has not changed in ages and looks like this has always been a bug. Never got round to reworking that code. I will see what is different between database and shares code
Index: GUIMusicFiles.cs
===================================================================
--- GUIMusicFiles.cs (revision 27138)
+++ GUIMusicFiles.cs (working copy)
@@ -999,6 +999,10 @@
protected override void OnInfo(int iItem)
{
GUIListItem pItem = facadeLayout[iItem];
+ if (pItem == null)
+ {
+ return;
+ }
if (pItem.IsFolder && pItem.Label != "..")
{
@@ -1032,16 +1036,19 @@
}
}
+
Song song = pItem.AlbumInfoTag as Song;
- if (song == null)
+ if (song == null && pItem != null)
{
- List<GUIListItem> list = new List<GUIListItem>();
- list.Add(pItem);
- GetTagInfo(ref list);
+ MusicTag tag = pItem.MusicTag as MusicTag;
+ if (tag != null && tag.Album.Length > 0)
+ {
+ ShowAlbumInfo(true, tag.Artist, tag.Album, pItem.Path, tag);
+ facadeLayout.RefreshCoverArt();
+ }
}
- //facadeLayout.RefreshCoverArt();
base.OnInfo(iItem);
}
- List<GUIListItem> list = new List<GUIListItem>();
- list.Add(pItem);
- GetTagInfo(ref list);