Skin fails to load movie genre icons - NathanDrake - 2020-10-28
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!
RE: Skin fails to load movie genre icons - DarrenHill - 2020-10-28
Thread moved to the aura skin support section
RE: Skin fails to load movie genre icons - NathanDrake - 2020-10-28
(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.
RE: Skin fails to load movie genre icons - Karellen - 2020-10-28
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
RE: Skin fails to load movie genre icons - NathanDrake - 2020-10-28
(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.
RE: Skin fails to load movie genre icons - Karellen - 2020-10-29
(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
- Download the Texture Tool... https://kodi.wiki/view/TextureTool
- Find the addon in the addons folder in the Kodi data folder (wiki). It will be called resource.images.moviegenreicons.transparent
- In the resources folder you will see Textures.xbt
- Using this Texture Tool, extract the images out of the Textures.xbt file, then delete the file once you have done that.
- 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.
- Then run the Texture Tool to create the textures.xbt file with the new files.
- The Texture Tool only works when there are no spaces in the path or the filename
Second method
- Same as above, but download the images direct from the repo here... https://github.com/xbmc/repo-resources/tree/jarvis/resource.images.moviegenreicons.transparent
- Change the names
- 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.
RE: Skin fails to load movie genre icons - NathanDrake - 2020-10-29
(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
- Download the Texture Tool... https://kodi.wiki/view/TextureTool
- Find the addon in the addons folder in the Kodi data folder (wiki). It will be called resource.images.moviegenreicons.transparent
- In the resources folder you will see Textures.xbt
- Using this Texture Tool, extract the images out of the Textures.xbt file, then delete the file once you have done that.
- 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.
- Then run the Texture Tool to create the textures.xbt file with the new files.
- The Texture Tool only works when there are no spaces in the path or the filename
Second method
- Same as above, but download the images direct from the repo here... https://github.com/xbmc/repo-resources/tree/jarvis/resource.images.moviegenreicons.transparent
- Change the names
- 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.
RE: Skin fails to load movie genre icons - Karellen - 2020-10-29
(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?
RE: Skin fails to load movie genre icons - ronie - 2020-10-30
(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.
RE: Skin fails to load movie genre icons - jjd-uk - 2020-10-30
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.
RE: Skin fails to load movie genre icons - Karellen - 2020-10-30
Thanks @ronie & @jjd-uk
RE: Skin fails to load movie genre icons - NathanDrake - 2020-10-30
(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.
RE: Skin fails to load movie genre icons - jjd-uk - 2020-10-30
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.
RE: Skin fails to load movie genre icons - NathanDrake - 2020-10-30
(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.
|