[RELEASE] Random and last items smartplaylist script for Skins - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12) +---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300) +---- Thread: [RELEASE] Random and last items smartplaylist script for Skins (/showthread.php?tid=122448) |
- butchabay - 2012-02-28 Wow, that was fast ... going to try it this evening. Thanx. - Eisi2005 - 2012-02-28 @mikebzh44 with latest version and testfile i become this log file entry: 19:58:53 T:4380 NOTICE: ('[RandomAndLastItems] JSON RESULT ', {u'jsonrpc': u'2.0', u'id': None, u'error': {u'message': u'Parse error.', u'code': -32700}}) 19:58:53 T:4380 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "Files.GetDirectory", "params": {"directory": "Y:\Kinderfilme\Lazy Town\", "media": "video", "properties": ["year", "runtime", "file", "playcount", "rating", "plot", "fanart", "thumbnail", "trailer"]}, "id": 1} 19:58:53 T:4380 ERROR: JSONRPC: Failed to parse '{"jsonrpc": "2.0", "method": "Files.GetDirectory", "params": {"directory": "Y:\Kinderfilme\Lazy Town\", "media": "video", "properties": ["year", "runtime", "file", "playcount", "rating", "plot", "fanart", "thumbnail", "trailer"]}, "id": 1}' 19:58:53 T:4380 NOTICE: [RandomAndLastItems] ## MOVIESET Y:\Kinderfilme\Lazy Town\ COULD NOT BE LOADED ## 19:58:53 T:4380 NOTICE: ('[RandomAndLastItems] JSON RESULT ', {u'jsonrpc': u'2.0', u'id': None, u'error': {u'message': u'Parse error.', u'code': -32700}}) 19:58:53 T:4380 INFO: -->Python script returned the following error<-- 19:58:53 T:4380 ERROR: Error Type: <type 'exceptions.UnicodeEncodeError'> 19:58:53 T:4380 ERROR: Error Contents: 'ascii' codec can't encode character u'\xdf' in position 119: ordinal not in range(128) 19:58:53 T:4380 ERROR: Traceback (most recent call last): File "C:\Users\AdminEisi2005\AppData\Roaming\XBMC\addons\script.randomandlastitems\randomandlastitems.py", line 476, in <module> _getMovies() File "C:\Users\AdminEisi2005\AppData\Roaming\XBMC\addons\script.randomandlastitems\randomandlastitems.py", line 82, in _getMovies _json_query = xbmc.executeJSONRPC('{"jsonrpc": "2.0", "method": "Files.GetDirectory", "params": {"directory": "%s", "media": "video", "properties": ["year", "runtime", "file", "playcount", "rating", "plot", "fanart", "thumbnail", "trailer"]}, "id": 1}' %(_item['file'])) UnicodeEncodeError: 'ascii' codec can't encode character u'\xdf' in position 119: ordinal not in range(128) 19:58:53 T:4380 INFO: -->End of Python script error report<-- Greets Eisi - mikebzh44 - 2012-02-28 Could you send me your entire log on http://pastebin.com/ ? Thanks - butchabay - 2012-02-29 @mikebzh44 Thanx for the update all working ! Cheers - mikebzh44 - 2012-02-29 Good news. I hope I will be able to fix Eisi2005 problem now. - Eisi2005 - 2012-02-29 @mikebzh44 i hope so too Logfile come when i´m at home. Greets Eisi - mikebzh44 - 2012-02-29 Which skin did you run ? It strange because script is using your tvshow playlist Kinderseries.xsp but for finding movies : Code: line 82, in[b] _getMovies[/b] It's like your give tvshow playlist to a movie menu - Eisi2005 - 2012-02-29 i use glass skin to test the script. My Standard skin "AEON Nox" did not support TV Playlist at moment. Greets Eisi - fmronan - 2012-02-29 Glass don't support tvshows playlist (in 2 days) - Eisi2005 - 2012-02-29 That could be the puzzle solution Sorry @mikebzh44 for the work. Which skin support tv playlist to test the function ? Greets Eisi - Martijn - 2012-02-29 Eisi2005 Wrote:That could be the puzzle solution Why don't you just wait two days until it is in Glass. - Mudislander - 2012-02-29 Support added into Convergence. If script installed before adding playlist to home menu "should" automatically create the lists. As usual bug reports and suggetions are welcome - fmronan - 2012-02-29 Glass in two days - butchabay - 2012-02-29 Eisi2005 Wrote:That could be the puzzle solution one more Fusion Migma V2 - Eisi2005 - 2012-02-29 THX for all the infos Greets Eisi |