Author Topic: Main player icon color isn't showing, how to fix it? (SOLVED)  (Read 2902 times)

mvana

  • Jr. Member
  • **
  • Posts: 62
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.
Last Edit: November 28, 2021, 02:54:16 PM by mvana

hiccup

  • Hero Member
  • *****
  • Posts: 5575
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

mvana

  • Jr. Member
  • **
  • Posts: 62
@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)




hiccup

  • Hero Member
  • *****
  • Posts: 5575
@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.


mvana

  • Jr. Member
  • **
  • Posts: 62
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.


hiccup

  • Hero Member
  • *****
  • Posts: 5575
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.

mvana

  • Jr. Member
  • **
  • Posts: 62
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

mvana

  • Jr. Member
  • **
  • Posts: 62
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 ?

hiccup

  • Hero Member
  • *****
  • Posts: 5575
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.

mvana

  • Jr. Member
  • **
  • Posts: 62
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