v18 MusicPlayer.Contributors and MusicPlayer.ContributorAndRole are empty
#1
I can't seem to get these infolabels to return anything. MusicPlayer.Property(Role.str) does work.

scott s.
.
Reply
#2
That would be because "contributors" and "contributorandrole" were ommited from const infomap musicplayer

Nice to see someone trying to use this @scott967, I will try to get the fix into v18 RC4
See PR15141
Reply
#3
Thanks for the quick turn-around.  I was looking at code, and fixated on this:
Code:
      case MUSICPLAYER_CONTRIBUTORS:
      case LISTITEM_CONTRIBUTORS:
        if (tag->HasContributors())
        {
          value = tag->GetContributorsText();
          return true;
        }
        break;
      case MUSICPLAYER_CONTRIBUTOR_AND_ROLE:
      case LISTITEM_CONTRIBUTOR_AND_ROLE:
        if (tag->HasContributors())
        {
          value = tag->GetContributorsAndRolesText();
          return true;
        }
        break;

which seemed correct and then was trying to dig down into HasContributors and GetContributorsText but couldn't see any obvious reason for them not to work.  Didn't realize the need for infomap as well.

scott s.
.
Reply

Logout Mark Read Team Forum Stats Members Help
MusicPlayer.Contributors and MusicPlayer.ContributorAndRole are empty0