2012-02-21, 15:19
shaktoo Wrote:mike I have already tried it in Glass SVN and Nox Git ( which utilises the script) in glass I have configured it and i Can see the widget but it remains empty and dosent show anything , unfortunately in Nox home screen dosent even shows the widgets , its as if the skin isnt even calling the script
I have a similar problem with modded confluense right now.
I just made this logfile for that skin but since its about this script and it seems to be on two different skins I'll post this here aswell.
http://pastebin.com/nZcMZ5bT
The error show up here:
Code:
14:06:24 T:3600 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "Files.GetDirectory", "params": {"directory": "special://masterprofile/playlists/video/custom1.xsp", "media": "video", "properties": ["year", "runtime", "file", "playcount", "rating", "plot", "fanart", "thumbnail", "resume", "trailer"]}, "id": 1}
14:06:24 T:3600 DEBUG: JSONRPC: Calling files.getdirectory
14:06:24 T:3600 WARNING: CUtil::GetMatchingSource... no matching source found for [special://masterprofile/playlists/video/custom1.xsp]
14:06:24 T:3600 WARNING: Previous line repeats 4 times.
14:06:24 T:3600 ERROR: Error loading Smart playlist special://masterprofile/playlists/video/custom1.xsp (failed to read file)
14:06:24 T:3600 ERROR: Previous line repeats 1 times.
14:06:24 T:3600 ERROR: XFILE::CDirectory::GetDirectory - Error getting special://masterprofile/playlists/video/custom1.xsp
14:06:24 T:3600 NOTICE: [RandomAndLastItems] ## PLAYLIST special://masterprofile/playlists/video/custom1.xsp COULD NOT BE LOADED ##
14:06:24 T:3600 NOTICE: ('[RandomAndLastItems] JSON RESULT ', {u'jsonrpc': u'2.0', u'id': 1, u'error': {u'message': u'Invalid params.', u'code': -32602}})
14:06:24 T:3600 INFO: Scriptresult: Success
14:06:24 T:3600 INFO: Python script stopped
EDIT: Now looking at the code, my playlist isn't "custom1.xsp" its "AppData\Roaming\XBMC\userdata\playlists\video\film.xsp"
custom1 is the custom homebutton I have placed "film.xsp" in. changing the playlists filename to custom1 made it work.