Win [HowTo] Add custom genre icons to music library - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67) +---- Forum: Rapier (https://forum.kodi.tv/forumdisplay.php?fid=120) +---- Thread: Win [HowTo] Add custom genre icons to music library (/showthread.php?tid=137570) |
[HowTo] Add custom genre icons to music library - mehrunes - 2012-08-04 Hi guys, I spent the whole day googling how one can add custom genre icons to a skin. Unfortunately there isn't much to find so I decided to write up how I have it done now. I was a complete noob to skinning so I took me a while to figure out what code I had to add and above all - where I had it to add. This is what I came up with (works only in Icon View): At first I stored some genre icons in a "custom" folder within the skin's media folder (C:\Users\YourUsername\AppData\Roaming\XBMC\addons\skin.rapier\media\custom). The icons must have exactly the same name as your genres, e.g. pop.jpg. Then you edit the ViewsCommon.xml and add following lines: From line 117 (this is for displaying your genre icon over the standard icon): Code: <control type="image"> From line 237 (this is the same when the item has focus): Code: <control type="image"> And here you go: I hope it helps some of you. If someone has hints or tipps, feel free to enlighten me. This is only coded try& error... RE: [HowTo] Add custom genre icons to music library - atlind01 - 2012-09-19 thanks for the tip, really helpful |