[RELEASE] Random and last items smartplaylist script for Skins

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
butchabay Offline
Skilled Skinner
Posts: 3,827
Joined: Mar 2010
Reputation: 75
Location: Planet Crematoria
Post: #121
Wow, that was fast ... Smile going to try it this evening.
Thanx.
find quote
Eisi2005 Offline
Fan
Posts: 703
Joined: Feb 2011
Reputation: 1
Location: Germany
Post: #122
@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\ran​domandlastitems.py", line 476, in <module>
_getMovies()
File "C:\Users\AdminEisi2005\AppData\Roaming\XBMC\addons\script.randomandlastitems\ran​domandlastitems.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
find quote
mikebzh44 Offline
Posting Freak
Posts: 1,791
Joined: Nov 2011
Reputation: 48
Location: Nantes - France
Post: #123
Could you send me your entire log on http://pastebin.com/ ?

Thanks

Sorry for my english, but, you know, I'm French so ...

find quote
butchabay Offline
Skilled Skinner
Posts: 3,827
Joined: Mar 2010
Reputation: 75
Location: Planet Crematoria
Post: #124
@mikebzh44
Thanx for the update all working !
Cheers
find quote
mikebzh44 Offline
Posting Freak
Posts: 1,791
Joined: Nov 2011
Reputation: 48
Location: Nantes - France
Post: #125
Good news.

I hope I will be able to fix Eisi2005 problem now.

Sorry for my english, but, you know, I'm French so ...

find quote
Eisi2005 Offline
Fan
Posts: 703
Joined: Feb 2011
Reputation: 1
Location: Germany
Post: #126
@mikebzh44

i hope so too Smile

Logfile come when i´m at home.

Greets
Eisi
find quote
mikebzh44 Offline
Posting Freak
Posts: 1,791
Joined: Nov 2011
Reputation: 48
Location: Nantes - France
Post: #127
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 Frown

Sorry for my english, but, you know, I'm French so ...

find quote
Eisi2005 Offline
Fan
Posts: 703
Joined: Feb 2011
Reputation: 1
Location: Germany
Post: #128
i use glass skin to test the script. My Standard skin "AEON Nox" did not support TV Playlist at moment.

Greets
Eisi
find quote
fmronan Offline
Fan
Posts: 600
Joined: Dec 2010
Reputation: 4
Post: #129
Glass don't support tvshows playlist (in 2 days)
find quote
Eisi2005 Offline
Fan
Posts: 703
Joined: Feb 2011
Reputation: 1
Location: Germany
Post: #130
That could be the puzzle solution Smile

Sorry @mikebzh44 for the work.

Which skin support tv playlist to test the function ?

Greets
Eisi
find quote
Martijn Offline
Team Kodi
Posts: 11,608
Joined: Jul 2011
Reputation: 167
Location: Dawn of time
Post: #131
Eisi2005 Wrote:That could be the puzzle solution Smile

Sorry @mikebzh44 for the work.

Which skin support tv playlist to test the function ?

Greets
Eisi

Why don't you just wait two days until it is in Glass.

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
Mudislander Offline
Skilled Skinner
Posts: 1,684
Joined: Jun 2009
Reputation: 39
Post: #132
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

Noli illegitimi carborundum
find quote
fmronan Offline
Fan
Posts: 600
Joined: Dec 2010
Reputation: 4
Post: #133
Glass in two daysLaugh

[Image: 1330520125-screenshot004.png]
find quote
butchabay Offline
Skilled Skinner
Posts: 3,827
Joined: Mar 2010
Reputation: 75
Location: Planet Crematoria
Post: #134
Eisi2005 Wrote:That could be the puzzle solution Smile

Sorry @mikebzh44 for the work.

Which skin support tv playlist to test the function ?

Greets
Eisi

one more Laugh Fusion Migma V2

[Image: cVFxS.jpg]
find quote
Eisi2005 Offline
Fan
Posts: 703
Joined: Feb 2011
Reputation: 1
Location: Germany
Post: #135
THX for all the infos

Greets
Eisi
find quote
Post Reply