getmusicbee.com

MusicBee & Add-Ons => Customizations => Skins => Topic started by: mvana on November 18, 2021, 03:49:01 PM

Title: Main player icon color isn't showing, how to fix it? (SOLVED)
Post by: mvana on November 18, 2021, 03:49:01 PM
When mouse hovering over the icon in the main player, it does change the icon but doesn't show the color, it shows plain white icon, instead of the png's real color.
How to fix it?
Code
 
<element id="PlayerLastFmLoveBright">CODE</element>

Another question, what is the code/id for the last.fm icon?

Thanks in advance


--------------
Solution:
<element id="PlayerAutoColor">false</element>
If Auto Color is true then MusicBee will only use the shape of the png icon.
Title: Re: Main player icon color isn't showing, how to fix it?
Post by: hiccup on November 19, 2021, 09:38:09 AM
When mouse hovering over the icon in the main player, it does change the icon but doesn't show the color, it shows plain white icon, instead of the png's real color.
How to fix it?
<element id="PlayerLastFmLoveBright">CODE</element>
That element is obsolete.
See here for more info on the matter:
https://getmusicbee.com/forum/index.php?topic=16643.705
Title: Re: Main player icon color isn't showing, how to fix it?
Post by: mvana on November 19, 2021, 12:22:47 PM
@hiccup Is there any code for the shapes?
PANELS

MAIN PLAYER AND COMPACT PLAYER

PlayerLastFmLove
[Loved] (Uses shape and color)

PlayerLastFmLoveBright
[Not used]

PlayerLastFmNotLove
[Not Loved] (Uses shape and color) (If 'overlay controls' is active in Compact Player, color is automatically selected)



Title: Re: Main player icon color isn't showing, how to fix it?
Post by: hiccup on November 19, 2021, 01:09:51 PM
@hiccup Is there any code for the shapes?
They need to be 16x16 px, preferably using transparency.
For bitmapped skins you place these image files into the 'Images' folder.
For regular skins you will need to encode the image files to base64 and copy that code into the main skin xml.

What is meant by "Uses shape and color" is that for most instances, the 'love' icon will appear exactly as the png, but in some positions only the shape is used, and the colour is overruled by an rgb value in the main skin xml.

Title: Re: Main player icon color isn't showing, how to fix it?
Post by: mvana on November 19, 2021, 06:09:44 PM
Thank you, that was very helpful!

the 'love' icon will appear exactly as the png, but in some positions only the shape is used, and the colour is overruled by an rgb value in the main skin xml.
In the main player icons (png or base64) are not showing their color, only the shape. The Skin Creator cuts off the love icon and shows true colors of the png, but MusicBee doesn't show the colors, only shape with default white color, but shapes look fine.  

Anyway I can fix these 2 issues? I probably missed some rgb value in the main skin xml.

(https://i.imgur.com/0G602Ql.jpg)
Title: Re: Main player icon color isn't showing, how to fix it?
Post by: hiccup on November 19, 2021, 06:30:22 PM
In the main player icons (png or base64) are not showing their color, only the shape. The Skin Creator cuts off the love icon and shows true colors of the png, but MusicBee doesn't show the colors, only shape with default white color, but shapes look fine.  
Looking at your screenshot, I suspect the icon is not sized at 16x16 px.
Or perhaps the dpi is off a lot. Try to use 16x16 at 96dpi.

For the colouring, you could use the Sample Skin to find if an rgb value in the main skin xml is overriding the colour of the image.
Title: Re: Main player icon color isn't showing, how to fix it?
Post by: mvana on November 19, 2021, 07:21:34 PM
Try to use 16x16 at 96dpi.
Thanks a lot! That worked perfectly!!

For the colouring, you could use the Sample Skin to find if an rgb value in the main skin xml is overriding the colour of the image.
I'll see if I can find something
Title: Re: Main player icon color isn't showing, how to fix it?
Post by: mvana on November 19, 2021, 10:59:01 PM
For the colouring, you could use the Sample Skin to find if an rgb value in the main skin xml is overriding the colour of the image.
Changing the following code to "false" solved it
Code
  <element id="PlayerAutoColor">false</element>
but it seems to completely remove the album art blur from the main player background, is it possible to bring it back while using "PlayerAutoColor">false ?
Title: Re: Main player icon color isn't showing, how to fix it?
Post by: hiccup on November 20, 2021, 07:37:02 AM
Code
  <element id="PlayerAutoColor">false</element>
but it seems to completely remove the album art blur from the main player background, is it possible to bring it back while using "PlayerAutoColor">false ?
I don't think so, since that is pretty much the purpose of selecting auto-colouring in the first place.
It will also make sure that buttons and icons remain visible and don't possibly create ugly colour mismatches for the different album colours.
Title: Re: Main player icon color isn't showing, how to fix it?
Post by: mvana on November 20, 2021, 08:50:35 AM
I don't think so, since that is pretty much the purpose of selecting auto-colouring in the first place.
It will also make sure that buttons and icons remain visible and don't possibly create ugly colour mismatches for the different album colours.
Yeah, that makes sense, thanks for the response