Add Movie Genre Fanart
#1
Hello,

I used your skin, because it is totally customizable.
Can you add "Select Movie / TV Genre Fanarts"
below the one highlighted in the image.
Because I use video node editor to customize genres and actors. Fanart view does not display the images put into Genres Icons

Thank you.

watch gallery
Reply
#2
Sorry for hijacking your thread Raziel.

I'm having the same trouble.

What is the path used for genre fanarts. Posters that is.

I've seen two examples so far:
e.g..
Code:
\addons\skin.titan\media\genres\icons
\addons\skin.titan\extras\genres\video\icons

All of these resources have some genres types missing or are not working:
Code:
moviegenrefanart.panel
moviegenrefanart.wall-red
moviegenreicons.arctic.zephyr
moviegenreicons.coloured
moviegenreicons.filmstrip
moviegenreicons.grey
moviegenreicons.poster
moviegenreicons.transparent
moviegenreicons.white
moviegenreicons.xzener-flat
moviegenreicons.xzener-reflection

moviegenreicons.white is probably the best looking one but it has bugs in it or possibly with the skin (I'm not sure). The missing genres are flickering (Marked M) and X to mark bugged out ones.

See attached.
Image
Reply
#3
Found the setting.
Code:
In path ....\userdata\addon_data\skin.titan\settings.xml

Search for lines (Change to suit):
Code:
<setting id="MovieGenreIconPack.path" type="string">G:/_Kodi_Settings/moviegenres/</setting>
<setting id="MovieGenreIconPack.name" type="string">ste</setting>
<setting id="MovieGenreIconPack.ext" type="string">.jpg</setting>

Could the skin have this as an option? No worries if not.
Reply
#4
Yes, the next beta version of the skin later this week contains a setting to manually specify the path to your icons
Reply
#5
Thanks. I'm having trouble with this method. It worked initially or at least I thought.

I've compiled them into a zip file if you can test to see if it's not a bug with the skin.

My Image size in the textures.xbt file are 340x500px with extension as .jpg

The names are:
Code:
Action.jpg
Adventure.jpg
Animation.jpg
Biography.jpg

etc, etc.

File>>>> https://ufile.io/2d48
Reply
#6
I've fixed the issue.

Seems the IncludesVariables.xml file of the skin needs to be updated to include the variable of the newly installed one.

So to fix the issue or install your own genre fanarts
- Install resource.images.moviegenreicons.grey repository
- Go to windows explorer and copy that file to your desktop (This is only for a template)
- Edit that to suit you means by:
- Rename Zip file to suit your new name
- Rename folder inside zip file
- Edit the addon.xml file to suit.
- Edit the changelog.txt file to suit
- Replace the icon.png with yours (340x340px)
- info.xml is fine unless you're not using jpg file formats as your images

Now to do your fanart:
- Create your new artwork as 340x500px in jpg format
- Use the following file naming convention: (more may be needed)
Code:
action and adventure.jpg
action.jpg
adventure.jpg
animation.jpg
biography.jpg
cantonese.jpg
christmas chase.jpg
christmas santa.jpg
christmas snowman.jpg
christmas.jpg
comedy.jpg
crime.jpg
cult classics.jpg
documentary.jpg
drama.jpg
factual feature.jpg
family.jpg
fantasy.jpg
film noir.jpg
film-noir.jpg
foreign language.jpg
foreign.jpg
french.jpg
german.jpg
history.jpg
horror.jpg
italian.jpg
japanese.jpg
korean.jpg
man and cant.jpg
mandarin.jpg
mini-series.jpg
music.jpg
musical.jpg
musicals.jpg
mystery.jpg
nature.jpg
norwegian.jpg
portugese.jpg
reality.jpg
romance.jpg
scandinavian.jpg
science fiction.jpg
science-fiction.jpg
sci-fi.jpg
short.jpg
spanish.jpg
special interest.jpg
sport.jpg
sports film.jpg
suspense.jpg
swedish.jpg
talk show.jpg
Textures.xbt
thriller.jpg
travel.jpg
tv movie.jpg
uk.jpg
usa.jpg
war.jpg
western.jpg

- Download the Kodi Texture Tool to create the Textures.xbt file to be placed in the resources folder
http://kodi.wiki/view/TextureTool
This is pretty self explanatory to do this step. Just select your folder and process to an output file. (It also works in reverse too!!, where you can extract them from the Textures.xbt file)

- Then zip the file to e.g. resource.images.moviegenreicons.yournamehere-0.0.1

- Install your new zip repository in Kodi

- Change it to the newly installed genre artwork under Kodi Skin setting>General Skin Settings

- Close Kodi

- Then open the IncludesVariables.xml file and make sure where the variable MusicGenreIconVar and MusicGenreIconVar look like this:

Code:
<variable name="MovieGenreIconVar">
       <value condition="Skin.String(MovieGenreIconPack.path,resource://resource.images.moviegenreicons.poster/)">resource://resource.images.moviegenreicons.poster/$INFO[ListItem.Label].jpg</value>
       <value condition="Skin.String(MovieGenreIconPack.path,resource://resource.images.moviegenreicons.yournamehere/)">resource://resource.images.moviegenreicons.yournamehere/$INFO[ListItem.Label].jpg</value>
       <value>http://localhost:52307/getvarimage&amp;title=$INFO{Skin.String(MovieGenreIconPack.path)}$INFO[ListItem.Label,,.jpg]</value>
     </variable>
    
     <variable name="MusicGenreIconVar">
       <value condition="Skin.String(MusicGenreIconPack.path,resource://resource.images.musicgenreicons.text/)">resource://resource.images.musicgenreicons.text/$INFO[ListItem.Label].jpg</value>
       <value condition="Skin.String(MusicGenreIconPack.path,resource://resource.images.musicgenreicons.yournamehere/)">resource://resource.images.musicgenreicons.yournamehere/$INFO[ListItem.Label].jpg</value>
       <value condition="Skin.String(MusicGenreIconPack.path,resource://resource.images.musicgenreicons.poster/)">resource://resource.images.musicgenreicons.poster/$INFO[ListItem.Label].jpg</value>
       <value>http://localhost:52307/getvarimage&amp;title=$INFO{Skin.String(MusicGenreIconPack.path)}$INFO[ListItem.Label,,.jpg]</value>
     </variable>

- Save file

- Open Kodi

THAT'S IT. You should have working genre fanart.
Reply
#7
Above solution works also for the resource.images.moviegenreicons.xzener-flat (and maybe others) if you replace ".jpg" with ".png" in IncludesVariables.xml, as some packs use PNG files.

Source of xzener-flat:
https://github.com/gade01/resource.image.../resources
Reply
#8
No more need for these custom hacks (which can break the skin with latest updates !!)

This is now incorporated in the skin by default in the latest beta version.
Reply
#9
That's great. Thanks.

If I update to the BETA, then would this have no effect on my current settings. Or do I have to setup the skin again?
Reply
#10
You can install the beta or wait a few weeks for a new stable version.

If you install the beta, you can backup your skin settings (see backup and restore in skinsettings) and you can restore them on the beta version.
Reply
#11
Thank you. I'll wait seeing as I only require the custom genre fanart fix.
Reply
#12
OK great. New version now has support for all resource addons ANF you can now use a custom folder for all images.
It will bring up a dialog where you can either select a resource image addon or a custom folder on disk. All logic with file extensions and stuff is sorted out automagically
Reply

Logout Mark Read Team Forum Stats Members Help
Add Movie Genre Fanart0