getmusicbee.com

Support => Developers' Area => Skins => Topic started by: hiccup on January 10, 2021, 03:39:51 PM

Title: Wrong icon sourced for Now Playing?
Post by: hiccup on January 10, 2021, 03:39:51 PM
'Now Playing' in the navigator panel uses the PlaylistNowPlayingIcon instead of the NowPlayingIcon when both icons are present in the xml.
If 'PlaylistNowPlayingIcon' is not present in the xml, NowPlayingIcon is used. (correctly)

Is PlaylistNowPlayingIcon obsolete?
Title: Re: Wrong icon sourced for Now Playing?
Post by: Steven on January 11, 2021, 06:33:15 AM
As implemented both refer to the same icon and doing a google search, it seems they were added at different times but refer to the same thing.
You can use one or the other. The last one that is referenced in your skin is the one that would be actually used.
I will leave both id's in as different skins might be using either one.
Title: Re: Wrong icon sourced for Now Playing?
Post by: Bee-liever on January 12, 2021, 12:02:19 AM
IIRC pre 3.0 PlaylistNowPlayingIcon (if present) would override NowPlayingIcon in the tab header
Title: Re: Wrong icon sourced for Now Playing?
Post by: hiccup on January 13, 2021, 04:45:39 PM
IIRC pre 3.0 PlaylistNowPlayingIcon (if present) would override NowPlayingIcon in the tab header

Could well be, I don't remember.
I do remember in the old days 'now playing' resided in the playlist node. Later on it was upgraded to the library node.
That is probably the cause of this entanglement.

I just tried using both elements and switching their order around, but indeed now when both are present in the xml, both for the left Navigator panel and for the tabs, only the last one in the order of the xml is used.

So it is probably best to just consider "PlaylistNowPlayingIcon" as obsolete.