2015-11-11, 07:58
Confirm Fixed. 10x
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=
(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?
(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)
(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).
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=
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
(2015-11-11, 14:39)marcelveldt Wrote: @im85288 Sorry, I forgot to test those. I'll fix them later today for you.
(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.
<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>
(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
19:34:03 T:928 ERROR: CScriptInvocationManager::ExecuteAsync - Not executing non-existing script script.skin.helper.service
(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:
I guess he don't have the script? maybe the update failed and cause it?Code:19:34:03 T:928 ERROR: CScriptInvocationManager::ExecuteAsync - Not executing non-existing script script.skin.helper.service
Can I prevent it someway ? maybe adding "System.HasAddon(script.skin.helper.service)" to both <onload /> tags ? (replacewindow\runscript)