Skin fails to load movie genre icons
#1
Hi everyone,
I have these errors on the logs:
 
Code:
2020-10-28 12:28:33.321 T:2973174880 WARNING: Trying to add unsupported control type 1
2020-10-28 12:28:52.163 T:2973174880  NOTICE:   load skin from: /home/pi/.kodi/addons/skin.aura (version: 1.0.2)
2020-10-28 12:28:52.500 T:2973174880 WARNING: Trying to add unsupported control type 1
2020-10-28 12:28:54.975 T:2973174880   ERROR: Misplaced !
2020-10-28 12:28:54.975 T:2973174880   ERROR: Error parsing boolean expression string.endswith(listitem.label,!)
2020-10-28 12:28:55.456 T:2489430224   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Animazione.png
2020-10-28 12:28:55.456 T:2581651664   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Avventura.png
2020-10-28 12:28:55.463 T:2489430224   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Azione.png
2020-10-28 12:28:55.463 T:2581651664   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Commedia.png
2020-10-28 12:28:55.464 T:2581651664   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Documentario.png
2020-10-28 12:28:55.465 T:2489430224   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Dramma.png
2020-10-28 12:28:55.465 T:2581651664   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Famiglia.png
2020-10-28 12:28:55.465 T:2489430224   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Fantascienza.png
2020-10-28 12:28:58.581 T:2462634192   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Action & Adventure.png
2020-10-28 12:28:58.582 T:2462634192   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Commedia.png
2020-10-28 12:28:58.583 T:2462634192   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Dramma.png
2020-10-28 12:28:58.584 T:2462634192   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Famiglia.png
2020-10-28 12:28:58.585 T:2462634192   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Mistero.png
2020-10-28 12:28:58.586 T:2462634192   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Sci-Fi & Fantasy.png
2020-10-28 12:29:01.364 T:2462634192   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Animazione.png
2020-10-28 12:29:01.364 T:2445275344   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Azione.png
2020-10-28 12:29:02.182 T:2581651664   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Avventura.png
2020-10-28 12:29:03.381 T:2462634192   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Commedia.png
2020-10-28 12:29:03.732 T:2581651664   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Documentario.png
2020-10-28 12:29:03.882 T:2445275344   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Dramma.png
2020-10-28 12:29:04.082 T:2581651664   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Famiglia.png
2020-10-28 12:29:04.181 T:2581651664   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/See More....png
2020-10-28 12:29:04.232 T:2581651664   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Fantascienza.png
2020-10-28 12:29:04.581 T:2445275344   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/See More....png
2020-10-28 12:29:04.781 T:2489430224   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Animazione.png
2020-10-28 12:29:04.781 T:2581651664   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Avventura.png
2020-10-28 12:29:06.947 T:2581651664   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Azione.png
2020-10-28 12:29:06.996 T:2445275344   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Avventura.png
2020-10-28 12:29:07.147 T:2489430224   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Azione.png
2020-10-28 12:29:07.347 T:2462634192   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Avventura.png
2020-10-28 12:29:07.947 T:2445275344   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/Animazione.png
2020-10-28 12:29:08.612 T:2462634192   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.moviegenreicons.transparent/See More....png

For some reason the aura skin fails to load the movie genre icons. It also happens with the default kodi skin.

Is there something I can do to fix this?

Thank you!
Reply
#2
Thread moved to the aura skin support section
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

My Blog Posts
Reply
#3
(2020-10-28, 14:21)DarrenHill Wrote: Thread moved to the aura skin support section
Actually, I didn't post it here because, as I said, the problem happens also on the Kodi default skin. Thank you anyway.
Reply
#4
I think the problem is how you have named your Genre's.

resource://resource.images.moviegenreicons.transparent/Avventura.png

You have the genre Avventura but in the moviegenreicon add-on, the genre is called Adventure so the two names are different and Kodi cannot match them.

You either need to edit your movies and change the genre name to English
or
Edit the add-on and change the name of of the files to Italian
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki) || Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#5
(2020-10-28, 21:20)Karellen Wrote: I think the problem is how you have named your Genre's.

resource://resource.images.moviegenreicons.transparent/Avventura.png

You have the genre Avventura but in the moviegenreicon add-on, the genre is called Adventure so the two names are different and Kodi cannot match them.

You either need to edit your movies and change the genre name to English
or
Edit the add-on and change the name of of the files to Italian
I thought about this but I didn't do anything special with the genres.
How can I edit the add-on and change the name of the file to Italian? The addon is "Movie Genre icons - Transparent" and it doesn't have any option/setting for language.
Reply
#6
(2020-10-28, 22:46)NathanDrake Wrote: I thought about this but I didn't do anything special with the genres.
Ok. I guess you have Italian set as the language for your scraper.
(2020-10-28, 22:46)NathanDrake Wrote: How can I edit the add-on and change the name of the file to Italian?
You can't.

There are two methods to make this change

First method
  1. Download the Texture Tool... https://kodi.wiki/view/TextureTool
  2. Find the addon in the addons folder in the Kodi data folder (wiki). It will be called resource.images.moviegenreicons.transparent
  3. In the resources folder you will see Textures.xbt
  4. Using this Texture Tool, extract the images out of the Textures.xbt file, then delete the file once you have done that.
  5. Now change the names of the files from English to Italian, or whatever language you prefer. But the names need to match the genre name in your library. You can see that in your log in your first post.
  6. Then run the Texture Tool to create the textures.xbt file with the new files.
  7. The Texture Tool only works when there are no spaces in the path or the filename

Second method
  1. Same as above, but download the images direct from the repo here... https://github.com/xbmc/repo-resources/t...ransparent
  2. Change the names
  3. Either use the TExture tool and create the xbt file again, or leave them as is in the resources folder. It will work either way.

Be aware that you will lose these changes in the next update for the add-on, so disable auto-update for that add-on.

It's been a few years since I have done something like the above, so hoping it still works the way I remember it.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki) || Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#7
(2020-10-29, 03:24)Karellen Wrote:
(2020-10-28, 22:46)NathanDrake Wrote: I thought about this but I didn't do anything special with the genres.
Ok. I guess you have Italian set as the language for your scraper.
(2020-10-28, 22:46)NathanDrake Wrote: How can I edit the add-on and change the name of the file to Italian?
You can't.

There are two methods to make this change

First method
  1. Download the Texture Tool... https://kodi.wiki/view/TextureTool
  2. Find the addon in the addons folder in the Kodi data folder (wiki). It will be called resource.images.moviegenreicons.transparent
  3. In the resources folder you will see Textures.xbt
  4. Using this Texture Tool, extract the images out of the Textures.xbt file, then delete the file once you have done that.
  5. Now change the names of the files from English to Italian, or whatever language you prefer. But the names need to match the genre name in your library. You can see that in your log in your first post.
  6. Then run the Texture Tool to create the textures.xbt file with the new files.
  7. The Texture Tool only works when there are no spaces in the path or the filename

Second method
  1. Same as above, but download the images direct from the repo here... https://github.com/xbmc/repo-resources/t...ransparent
  2. Change the names
  3. Either use the TExture tool and create the xbt file again, or leave them as is in the resources folder. It will work either way.

Be aware that you will lose these changes in the next update for the add-on, so disable auto-update for that add-on.

It's been a few years since I have done something like the above, so hoping it still works the way I remember it.
I can confirm you that this works because yesterday I did exactly what you're describing now. Thank you very much, this confirms what I've done and now I know it's safe to do.
I suppose this is a bug to report because it doesn't happen only on the aura skin but in every skin I tried (even the default one). Is that correct?

Thank you very much for your support.
Reply
#8
(2020-10-29, 14:01)NathanDrake Wrote: I suppose this is a bug to report because it doesn't happen only on the aura skin but in every skin I tried (even the default one). Is that correct?
I suppose it could be considered a bug, but others may say no.

But yes, there is a fundamental problem with how some of the language dependant resources work. The resources are based on English, yet in the scrapers you can download metadata in almost any language which immediately breaks the English based resources.

Maybe @ronie has some insight?
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki) || Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#9
(2020-10-29, 18:21)Karellen Wrote: I suppose it could be considered a bug, but others may say no.

i am the others ;-)
it is what it is, we match the genre name to the image filename.
there is no possible way to add a translation in between.

creating localized artwork packs is the only was afaik.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#10
I guess what would be needed is a new feature where the db contains both consistent id/name for artwork use and a localised version set by the scraper.
Reply
#11
Thanks @ronie & @jjd-uk
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki) || Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#12
(2020-10-30, 02:04)ronie Wrote:
(2020-10-29, 18:21)Karellen Wrote: I suppose it could be considered a bug, but others may say no.

i am the others ;-)
it is what it is, we match the genre name to the image filename.
there is no possible way to add a translation in between.

creating localized artwork packs is the only was afaik.
Thank you @ronie and @jjd-uk.
I'm sorry @ronie, I would not want to appear rude or ungrateful but I really can't see how this cannot be considered a bug. Unless the official kodi release notes report that kodi is "stable" for English language only (and I know for sure that this is not the case) I believe it's undeniable that this can be considered as an actual bug (I'm a developer).
The solution proposed by @jjd-uk seems fine to me.
Reply
#13
Kodi is behaving the way it's been designed to behave, that maybe not optimal in this case for a non-English user, but that does not make it a bug, hence what you want would be a new feature.
Reply
#14
(2020-10-30, 18:44)jjd-uk Wrote: Kodi is behaving the way it's been designed to behave, that maybe not optimal in this case for a non-English user, but that does not make it a bug, hence what you want would be a new feature.
So it's been designed to behave correctly only for english speakers. You should write that on the offical page...
I am a C1 in speaking and a C2 in listening but not everyone in the world fluently speak english, you know.. there are so many beautiful languages in the world. It's a shame that a worldwide player like Kodi doesn't even support the main ones correctly.
I'm sorry but, unless you explicitly write that somewhere, I still consider it a bug.
Reply



Logout Mark Read Team Forum Stats Members Help
Skin fails to load movie genre icons0
This forum uses Lukasz Tkacz MyBB addons.