getmusicbee.com

Support => Developers' Area => Skins => Topic started by: diego on January 09, 2020, 02:49:06 AM

Title: Change ban icon
Post by: diego on January 09, 2020, 02:49:06 AM
Is it possible to change the ban icon? I couldn't find anything about it.
(https://i.imgur.com/o4tANVV.png)
Changing the position and color would be enough for me.
Title: Re: Change ban icon
Post by: hiccup on January 09, 2020, 09:00:45 AM
Changing the position and color would be enough for me.

It seems to work when you add references to it under 'TrackLove' like this:

Code
<element id="TrackLove" parent="Panel">
  <left relativeTo="TrackRating.Left" offset="-28" />
  <top relativeTo="Panel.Bottom" offset="-24" />
  <images category="NotLoved"
    default="Images\LastFmNotLove.png"
    highlight="Images\LastFmNotLoveBright.png"
  />
  <images category="Loved"
    default="Images\LastFmLove.png"
  />
    <images category="Banned"
    default="Images\Banned.png"
    highlight="Images\BannedHighlight.png"
  />
</element>

Since a track can't both be Loved and Banned at the same time it will have the same position as 'Loved'.

The 'ban' feature doesn't seem very popular though. I just looked for the shortcut key to easily set a track to 'Banned' but it looks like it doesn't exists, nor a.f.a.i.k. has it ever been asked for.
Title: Re: Change ban icon
Post by: diego on January 09, 2020, 03:41:03 PM
omg i can't believe i didn't think of that, thank you!

I just looked for the shortcut key to easily set a track to 'Banned' but it looks like it doesn't exists, nor a.f.a.i.k. has it ever been asked for.

i think the only one is shift + click on the love icon
Title: Re: Change ban icon
Post by: hiccup on January 09, 2020, 04:24:38 PM
omg i can't believe i didn't think of that

Well, you are the first person to give that icon any consideration and I don't think it is documented anywhere at all.
So, a good find and you could very well become the first one who publishes a skin using it...
Title: Re: Change ban icon
Post by: Herchi on August 26, 2023, 11:20:09 AM
(https://i.imgur.com/FsKepSC.png)
I normally use the "Royal blue" skin.
I imagine that it will be adding at the end of the Royal Blue.xml the suggested content as in the image.

add the code as a new 'element' in the xml as in the attached image.

I do not understand what is the use of adding the operation of the 'last fm', it takes out a heart but disabled. I have tried to give the button a normal click and with the 'shift' but nothing happens.
Title: Re: Change ban icon
Post by: hiccup on August 26, 2023, 03:36:00 PM
I normally use the "Royal blue" skin.
What is described in this thread pertains to .xmlc (bitmapped) skins only.
It won't work on .xml skins.
Title: Re: Change ban icon
Post by: Herchi on August 26, 2023, 07:53:38 PM
I had seen that xmlc's cannot been edited: https://getmusicbee.com/forum/index.php?topic=20921.0

I have searched for two skins on the web, in their respective support forum the source code to edit it and add these blessed lines but I have not found it. (And I would still be missing the path to compile it)

I would ask someone to share a dark skin with the ban icon, please. I just want that and I see such a mess.
Title: Re: Change ban icon
Post by: hiccup on August 26, 2023, 08:18:00 PM
I would ask someone to share a dark skin with the ban icon, please. I just want that and I see such a mess.
This was said in this thread:
No skin has been released that uses a customised ban icon yet.

If having a customised ban icon is that important to you, you will have to create an .xmlc skin yourself.
Find a dark .xml skin that you like, modify it to add your 'ban' icon, and then compile it into an .xmlc skin.
Title: Re: Change ban icon
Post by: The Incredible Boom Boom on October 14, 2023, 04:27:51 PM

The 'ban' feature doesn't seem very popular though. I just looked for the shortcut key to easily set a track to 'Banned' but it looks like it doesn't exists, nor a.f.a.i.k. has it ever been asked for.

I can add it to my plugin - or we can petition @Steven to incorporate it?