RE: skin helper service - tomer953 - 2015-11-11
Confirm Fixed. 10x
RE: skin helper service - im85288 - 2015-11-11
Hi Marcel, there's a few more errors with recommended music popping up in the logs
Code: 09:10:55 T:2152 ERROR: Skin Helper Service --> Error in plugin.py --> 'NoneType' object has no attribute 'lower'
09:10:55 T:2152 ERROR: Traceback (most recent call last):
09:10:55 T:2152 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py", line 124, in <module>
09:10:55 T:2152 ERROR: Main()
09:10:55 T:2152 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py", line 79, in __init__
09:10:55 T:2152 ERROR: getRecentPlayedSongs(limit)
09:10:55 T:2152 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\PluginContent.py", line 478, in getRecentPlayedSongs
09:10:55 T:2152 ERROR: item["art"] = getMusicArtworkByDbId(item["songid"], "songs")
09:10:55 T:2152 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\ArtworkUtils.py", line 879, in getMusicArtworkByDbId
09:10:55 T:2152 ERROR: musicbrainzartistid, musicbrainzalbumid = getMusicBrainzId(artistartwork.get("artistname"),albumName,trackName)
09:10:55 T:2152 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\ArtworkUtils.py", line 596, in getMusicBrainzId
09:10:55 T:2152 ERROR: matchartist = getCompareString(artist)
09:10:55 T:2152 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\Utils.py", line 1014, in getCompareString
09:10:55 T:2152 ERROR: string = string.lower().replace(".","").replace(" ","").replace("-","").replace("_","").replace("'","").replace("`","").replace("’","")
09:10:55 T:2152 ERROR: AttributeError: 'NoneType' object has no attribute 'lower'
09:10:55 T:5220 NOTICE: plugin.video.emby started
09:10:55 T:5220 NOTICE: Parameter string: ?id=0&mode=channels
09:10:55 T:5056 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://script.skin.helper.service/?action=recentplayedsongs&limit=25
09:10:55 T:3112 ERROR: Skin Helper Service --> Error in plugin.py --> 'NoneType' object has no attribute 'lower'
09:10:55 T:3112 ERROR: Traceback (most recent call last):
09:10:55 T:3112 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py", line 124, in <module>
09:10:55 T:3112 ERROR: Main()
09:10:55 T:3112 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py", line 77, in __init__
09:10:55 T:3112 ERROR: getRecentPlayedAlbums(limit,browse)
09:10:55 T:3112 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\PluginContent.py", line 448, in getRecentPlayedAlbums
09:10:55 T:3112 ERROR: item["art"] = getMusicArtworkByDbId(item["albumid"], "albums")
09:10:55 T:3112 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\ArtworkUtils.py", line 879, in getMusicArtworkByDbId
09:10:55 T:3112 ERROR: musicbrainzartistid, musicbrainzalbumid = getMusicBrainzId(artistartwork.get("artistname"),albumName,trackName)
09:10:55 T:3112 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\ArtworkUtils.py", line 596, in getMusicBrainzId
09:10:55 T:3112 ERROR: matchartist = getCompareString(artist)
09:10:55 T:3112 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\Utils.py", line 1014, in getCompareString
09:10:55 T:3112 ERROR: string = string.lower().replace(".","").replace(" ","").replace("-","").replace("_","").replace("'","").replace("`","").replace("’","")
09:10:55 T:3112 ERROR: AttributeError: 'NoneType' object has no attribute 'lower'
09:10:55 T:2496 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://script.skin.helper.service/?action=recentplayedalbums&limit=27&reload=
09:10:55 T:5220 NOTICE: plugin.video.emby stopped
09:10:56 T:4372 NOTICE: version 3.1.1 started
09:10:56 T:4412 ERROR: Skin Helper Service --> Error in plugin.py --> 'NoneType' object has no attribute 'lower'
09:10:56 T:4412 ERROR: Traceback (most recent call last):
09:10:56 T:4412 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py", line 124, in <module>
09:10:56 T:4412 ERROR: Main()
09:10:56 T:4412 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py", line 63, in __init__
09:10:56 T:4412 ERROR: getRecentAlbums(limit,browse)
09:10:56 T:4412 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\PluginContent.py", line 418, in getRecentAlbums
09:10:56 T:4412 ERROR: item["art"] = getMusicArtworkByDbId(item["albumid"], "albums")
09:10:56 T:4412 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\ArtworkUtils.py", line 879, in getMusicArtworkByDbId
09:10:56 T:4412 ERROR: musicbrainzartistid, musicbrainzalbumid = getMusicBrainzId(artistartwork.get("artistname"),albumName,trackName)
09:10:56 T:4412 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\ArtworkUtils.py", line 596, in getMusicBrainzId
09:10:56 T:4412 ERROR: matchartist = getCompareString(artist)
09:10:56 T:4412 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\Utils.py", line 1014, in getCompareString
09:10:56 T:4412 ERROR: string = string.lower().replace(".","").replace(" ","").replace("-","").replace("_","").replace("'","").replace("`","").replace("’","")
09:10:56 T:4412 ERROR: AttributeError: 'NoneType' object has no attribute 'lower'
09:10:56 T:5056 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://script.skin.helper.service/?action=recentalbums&limit=27&reload=
09:10:57 T:5352 ERROR: Skin Helper Service --> Error in plugin.py --> 'NoneType' object has no attribute 'lower'
09:10:57 T:5352 ERROR: Traceback (most recent call last):
09:10:57 T:5352 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py", line 124, in <module>
09:10:57 T:5352 ERROR: Main()
09:10:57 T:5352 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py", line 68, in __init__
09:10:57 T:5352 ERROR: getRecommendedAlbums(limit,browse)
09:10:57 T:5352 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\PluginContent.py", line 686, in getRecommendedAlbums
09:10:57 T:5352 ERROR: item["art"] = getMusicArtworkByDbId(item["albumid"], "albums")
09:10:57 T:5352 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\ArtworkUtils.py", line 879, in getMusicArtworkByDbId
09:10:57 T:5352 ERROR: musicbrainzartistid, musicbrainzalbumid = getMusicBrainzId(artistartwork.get("artistname"),albumName,trackName)
09:10:57 T:5352 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\ArtworkUtils.py", line 596, in getMusicBrainzId
09:10:57 T:5352 ERROR: matchartist = getCompareString(artist)
09:10:57 T:5352 ERROR: File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\Utils.py", line 1014, in getCompareString
09:10:57 T:5352 ERROR: string = string.lower().replace(".","").replace(" ","").replace("-","").replace("_","").replace("'","").replace("`","").replace("’","")
09:10:57 T:5352 ERROR: AttributeError: 'NoneType' object has no attribute 'lower'
09:10:57 T:2448 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://script.skin.helper.service/?action=recommendedalbums&limit=27&reload=
RE: skin helper service - Gade - 2015-11-11
Hi Marcel.
Sorry to bump, but I don't know if you saw my feedback on music fanart backgrounds? Again, thanks a lot for adding this. ![Smile Smile](https://forum.kodi.tv/images/smilies/smile.png)
SkinHelper.RecentMusicBackground doesn't seem to return any images on either Isengard or Jarvis. There's no info in the log on this. SkinHelper.AllMusicBackground and all other options works perfectly.
Also, would it be possible to change SkinHelper.ListItemSubtitles.Count to display the number of all available subtitles, instead of only the number of unique languages?
Cheers
Gade
RE: skin helper service - User 224999 - 2015-11-11
(2015-11-11, 11:25)im85288 Wrote: Hi Marcel, there's a few more errors with recommended music popping up in the logs
Can you please grab latest from Git ? I have reworked soem stuff yesterday, I should also have fixed this one.
RE: skin helper service - User 224999 - 2015-11-11
(2015-11-11, 11:39)Gade Wrote: SkinHelper.RecentMusicBackground doesn't seem to return any images on either Isengard or Jarvis. There's no info in the log on this. SkinHelper.AllMusicBackground and all other options works perfectly.
Also, would it be possible to change SkinHelper.ListItemSubtitles.Count to display the number of all available subtitles, instead of only the number of unique languages?
Sorry, I forgot to reply... The thread got a little busy so I might have overlooked some stuff
I'm working on the recentmusicbackground. I had some trouble getting the right json query. Will fix this tonight.
The subtitles count should already be added last week:
Window(Home).Property(SkinHelper.ListItemSubtitles.Count)
and:
Window(Home).Property(SkinHelper.ListItemLanguages.Count)
RE: skin helper service - Gade - 2015-11-11
(2015-11-11, 11:55)marcelveldt Wrote: Sorry, I forgot to reply... The thread got a little busy so I might have overlooked some stuff
I'm working on the recentmusicbackground. I had some trouble getting the right json query. Will fix this tonight.
The subtitles count should already be added last week:
Window(Home).Property(SkinHelper.ListItemSubtitles.Count)
and:
Window(Home).Property(SkinHelper.ListItemLanguages.Count)
No worries ![Smile Smile](https://forum.kodi.tv/images/smilies/smile.png)
Thanks for looking into this.
SkinHelper.ListItemSubtitles.Count works, although it only returns unique subtitle languages. Eg. if you have 3 english subtitles, 1 german and 2 danish, it will return 3 as count. I would really like it to return all subtitles if that's possible (eg. 6 in the previous example).
RE: skin helper service - User 224999 - 2015-11-11
(2015-11-11, 12:03)Gade Wrote: SkinHelper.ListItemSubtitles.Count works, although it only returns unique subtitle languages. Eg. if you have 3 english subtitles, 1 german and 2 danish, it will return 3 as count. I would really like it to return all subtitles if that's possible (eg. 6 in the previous example).
Latest Git should fix both the count and the recent music background...
RE: skin helper service - Gade - 2015-11-11
Works like a charm! Thanks a lot.
RE: skin helper service - im85288 - 2015-11-11
I am getting different errors now with latest from GIT, things that were working such as movie genres/ show genres are no longer:
Code: 11:42:41 T:7324 ERROR: Skin Helper Service --> Error in plugin.py --> global name 'similartitle' is not defined
11:42:41 T:7324 ERROR: Traceback (most recent call last):
11:42:41 T:7324 ERROR: File "C:\Users\Ian\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py", line 80, in <module>
11:42:41 T:7324 ERROR: Main()
11:42:41 T:7324 ERROR: File "C:\Users\Ian\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py", line 71, in __init__
11:42:41 T:7324 ERROR: getPluginListing(action,limit,refresh)
11:42:41 T:7324 ERROR: File "C:\Users\Ian\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\PluginContent.py", line 39, in getPluginListing
11:42:41 T:7324 ERROR: allItems = eval(action)(limit)
11:42:41 T:7324 ERROR: File "C:\Users\Ian\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\PluginContent.py", line 489, in MOVIESFORGENRE
11:42:41 T:7324 ERROR: item["extraproperties"] = {"genretitle": similartitle}
11:42:41 T:7324 ERROR: NameError: global name 'similartitle' is not defined
11:42:41 T:4044 ERROR: Skin Helper Service --> Error in plugin.py --> global name 'similartitle' is not defined
11:42:41 T:4044 ERROR: Traceback (most recent call last):
11:42:41 T:4044 ERROR: File "C:\Users\Ian\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py", line 80, in <module>
11:42:41 T:4044 ERROR: Main()
11:42:41 T:4044 ERROR: File "C:\Users\Ian\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py", line 71, in __init__
11:42:41 T:4044 ERROR: getPluginListing(action,limit,refresh)
11:42:41 T:4044 ERROR: File "C:\Users\Ian\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\PluginContent.py", line 39, in getPluginListing
11:42:41 T:4044 ERROR: allItems = eval(action)(limit)
11:42:41 T:4044 ERROR: File "C:\Users\Ian\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\PluginContent.py", line 489, in MOVIESFORGENRE
11:42:41 T:4044 ERROR: item["extraproperties"] = {"genretitle": similartitle}
11:42:41 T:4044 ERROR: NameError: global name 'similartitle' is not defined
11:42:41 T:1596 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://script.skin.helper.service/?action=moviesforgenre&limit=5&reload=
11:42:41 T:3892 ERROR: Previous line repeats 1 times.
11:42:41 T:3892 ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - Command getDiskSpace failed: Unable to stat path
11:42:43 T:7576 NOTICE: version 3.1.1 started
11:42:44 T:7576 NOTICE: finished
11:42:44 T:3892 ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - Command getDiskSpace failed: Unable to stat path
11:42:46 T:7444 ERROR: Skin Helper Service --> Error in plugin.py --> global name 'similartitle' is not defined
11:42:46 T:7444 ERROR: Traceback (most recent call last):
11:42:46 T:7444 ERROR: File "C:\Users\Ian\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py", line 80, in <module>
11:42:46 T:7444 ERROR: Main()
11:42:46 T:7444 ERROR: File "C:\Users\Ian\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py", line 71, in __init__
11:42:46 T:7444 ERROR: getPluginListing(action,limit,refresh)
11:42:46 T:7444 ERROR: File "C:\Users\Ian\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\PluginContent.py", line 39, in getPluginListing
11:42:46 T:7444 ERROR: allItems = eval(action)(limit)
11:42:46 T:7444 ERROR: File "C:\Users\Ian\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\PluginContent.py", line 554, in SHOWSFORGENRE
11:42:46 T:7444 ERROR: item["extraproperties"] = {"genretitle": similartitle}
11:42:46 T:7444 ERROR: NameError: global name 'similartitle' is not defined
11:42:46 T:6648 ERROR: Skin Helper Service --> Error in plugin.py --> global name 'similartitle' is not defined
11:42:46 T:6648 ERROR: Traceback (most recent call last):
11:42:46 T:6648 ERROR: File "C:\Users\Ian\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py", line 80, in <module>
11:42:46 T:6648 ERROR: Main()
11:42:46 T:6648 ERROR: File "C:\Users\Ian\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py", line 71, in __init__
11:42:46 T:6648 ERROR: getPluginListing(action,limit,refresh)
11:42:46 T:6648 ERROR: File "C:\Users\Ian\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\PluginContent.py", line 39, in getPluginListing
11:42:46 T:6648 ERROR: allItems = eval(action)(limit)
11:42:46 T:6648 ERROR: File "C:\Users\Ian\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\PluginContent.py", line 554, in SHOWSFORGENRE
11:42:46 T:6648 ERROR: item["extraproperties"] = {"genretitle": similartitle}
11:42:46 T:6648 ERROR: NameError: global name 'similartitle' is not defined
11:42:46 T:3384 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://script.skin.helper.service/?action=showsforgenre&limit=5&reload=
Music still has some issues:
Code: 11:42:58 T:5400 ERROR: Skin Helper Service --> Error in plugin.py --> local variable 'artistpath' referenced before assignment
11:42:58 T:5400 ERROR: Traceback (most recent call last):
11:42:58 T:5400 ERROR: File "C:\Users\Ian\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py", line 80, in <module>
11:42:58 T:5400 ERROR: Main()
11:42:58 T:5400 ERROR: File "C:\Users\Ian\AppData\Roaming\Kodi\addons\script.skin.helper.service\plugin.py", line 71, in __init__
11:42:58 T:5400 ERROR: getPluginListing(action,limit,refresh)
11:42:58 T:5400 ERROR: File "C:\Users\Ian\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\PluginContent.py", line 39, in getPluginListing
11:42:58 T:5400 ERROR: allItems = eval(action)(limit)
11:42:58 T:5400 ERROR: File "C:\Users\Ian\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\PluginContent.py", line 216, in RECENTPLAYEDALBUMS
11:42:58 T:5400 ERROR: item["art"] = getMusicArtworkByDbId(item["albumid"], "albums")
11:42:58 T:5400 ERROR: File "C:\Users\Ian\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\ArtworkUtils.py", line 890, in getMusicArtworkByDbId
11:42:58 T:5400 ERROR: if downloadMusicArt and artistpath:
11:42:58 T:5400 ERROR: UnboundLocalError: local variable 'artistpath' referenced before assignment
11:42:58 T:7492 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://script.skin.helper.service/?action=recentplayedalbums&limit=100
11:42:58 T:7492 ERROR: Skin Helper Service --> getJson - empty result for Method Files.GetDirectory - params: { "directory": "plugin://script.skin.helper.service/?action=recentplayedalbums&limit=100", "media": "files", "properties": ["title", "file", "thumbnail", "episode", "showtitle", "season", "album", "artist", "imdbnumber", "firstaired", "mpaa", "trailer", "studio", "art"], "limits": {"end":1} } - response: {u'jsonrpc': u'2.0', u'id': 1, u'error': {u'message': u'Invalid params.', u'code': -32602}}
11:42:58 T:7492 ERROR: None
RE: skin helper service - User 224999 - 2015-11-11
@im85288 Sorry, I forgot to test those. I'll fix them later today for you.
RE: skin helper service - im85288 - 2015-11-11
(2015-11-11, 14:39)marcelveldt Wrote: @im85288 Sorry, I forgot to test those. I'll fix them later today for you.
Cool, thanks
RE: skin helper service - User 224999 - 2015-11-11
(2015-11-08, 02:31)jurialmunkey Wrote: Apologies Marcel, only just got around to testing your code for using WindowProps/SkinStrings inside a container. Works well on initial try for genre icons. However, after a bit of testing I noticed a few issues. Namely, if you change the skin string to use different genre icons, it doesn't seem to pick this up (even tried restarting). Also the fallback image doesn't seem to work.
Here's the code I'm using:
Code: http://localhost:52307/getvarimage&title=$INFO{Skin.String(genre.icons.path)}$INFO[ListItem.Label,,.jpg]&fallback=$INFO[ListItem.Icon]
One of the genre icon packs (Filmstrip) I tried didn't have an image for Science Fiction. However, the fallback doesn't seem to work. If I just use $INFO[ListItem.Icon] in the control I will get the DefaultFolder.png image, but not with the helper fallback. I also tried fallback=$INFO{ListItem.Icon} in case it needed the curly brackets instead, but no dice.
Just a litlle heads up that I'm still working on this...
I've fixed the fallback image but there seems to be a problem with the resource images in general.
I filed a bugreport for it: http://trac.kodi.tv/ticket/16366
In the meanwhile I'm looking for a solution... For my own skin for example I want to be able to let the user select a resource addon for genre icons, weather etc. I use Ronie's script to select the resource addon but hey here is the issue again that you can't access a skin string inside a panel...
I think all skinners are now having this issue. Offcourse we hope for a solution in the Kodi code but while that isn't fixed, this is the only solution I can come up with:
PHP 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.coloured/)">resource://resource.images.moviegenreicons.coloured/$INFO[ListItem.Label].jpg</value> <value condition="Skin.String(MovieGenreIconPack.path,resource://resource.images.moviegenreicons.white/)">resource://resource.images.moviegenreicons.white/$INFO[ListItem.Label].jpg</value> <value condition="Skin.String(MovieGenreIconPack.path,resource://resource.images.moviegenreicons.transparent/)">resource://resource.images.moviegenreicons.transparent/$INFO[ListItem.Label].jpg</value> <value condition="Skin.String(MovieGenreIconPack.path,resource://resource.images.moviegenreicons.grey/)">resource://resource.images.moviegenreicons.grey/$INFO[ListItem.Label].jpg</value> <value condition="Skin.String(MovieGenreIconPack.path,resource://resource.images.moviegenreicons.filmstrip/)">resource://resource.images.moviegenreicons.filmstrip/$INFO[ListItem.Label].jpg</value> <value>http://localhost:52307/getvarimage&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.grey/)">resource://resource.images.musicgenreicons.grey/$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&title=$INFO{Skin.String(MusicGenreIconPack.path)}$INFO[ListItem.Label,,.jpg]</value> </variable>
And this for all possible resource addons.
It seems a bit ridiculous if every skinner needs to create these vars to work around the issue...
What I can do is generate these vars inside an include XML file automatically by the helper addon. That way the data will always match all available addons and every skinner can use the same file, all you need to do is include that xml file in your skin.
Does this sound like a valid (temporary) solution for you all ?
RE: skin helper service - tomer953 - 2015-11-11
(2015-11-11, 00:46)marcelveldt Wrote: (2015-11-10, 23:12)tomer953 Wrote: mmm, Marcel, I have some NUC user, that the splash screen is not working for him.
He chose MP4 file, and he gets black screen, and only the audio is working.
The file is working well when he try to play it via video library.
Here's log:
http://pastebin.com/xvug0ZYC
The mp4 file can be found Here
Sorry, I forgot to mention... I had to change the splash screen feature a bit to work around some issues.
You need to include an image and videocontrol to your startup.xml, see the readme.
BTW: This also solves your issue with the doubled splash image
Marcel, I have one user that said the kodi is getting black screen (and he only hears the navigation sounds) - after the last update of the helper.
I searched in his log and saw:
Code: 19:34:03 T:928 ERROR: CScriptInvocationManager::ExecuteAsync - Not executing non-existing script script.skin.helper.service
I guess he don't have the script? maybe the update failed and cause it?
Can I prevent it someway ? maybe adding "System.HasAddon(script.skin.helper.service)" to both <onload /> tags ? (replacewindow\runscript)
RE: skin helper service - User 224999 - 2015-11-11
(2015-11-11, 19:45)tomer953 Wrote: Marcel, I have one user that said the kodi is getting black screen (and he only hears the navigation sounds) - after the last update of the helper.
I searched in his log and saw:
Code: 19:34:03 T:928 ERROR: CScriptInvocationManager::ExecuteAsync - Not executing non-existing script script.skin.helper.service
I guess he don't have the script? maybe the update failed and cause it?
Can I prevent it someway ? maybe adding "System.HasAddon(script.skin.helper.service)" to both <onload /> tags ? (replacewindow\runscript)
Hi messed up installing the addon apparently... Maybe he installed by hand and now it's duplicated ?
RE: skin helper service - tomer953 - 2015-11-11
nevermind, he fixed it somehow... for all the rest everything is ok. many thanks
|