[RELEASE] Random and last items smartplaylist script for Skins

  Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Livin Offline
Posting Freak
Posts: 3,621
Joined: May 2004
Reputation: 17
Location: above ground
Post: #766
I'm running Aeon MQ 5 isengard update, on both Windows and Android (firetv)

Windows works fine, Android gets an error in the top status bar. Doesn't say what the issue is.

Is there an update for this script for Android?

Thx

I'm not an expert but I play one at work.
find quote
peehoo Offline
Junior Member
Posts: 29
Joined: May 2014
Reputation: 0
Post: #767
Installation gives me error of dependencies... Windows 8.1 & Kodi 15.2.
find quote
mikebzh44 Offline
Posting Freak
Posts: 2,077
Joined: Nov 2011
Reputation: 57
Location: Nantes - France
Post: #768
Enable debug mode in Kodi settings
Try to install the script (are you using ZIP file ?)
Post kodi.log file content on pastebin.com or xbmclogs.com and share URL here

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

Main HTPC : Core i3 2120T running OpenELEC with Aeon Nox 5 and my mod
Secondary HTPC : Freebox Mini 4K running Android TV with Aeon Nox 5 and my mod
find quote
peehoo Offline
Junior Member
Posts: 29
Joined: May 2014
Reputation: 0
Post: #769
Yeah... I'll do that... However Aeon MQ 6 gives same error and don't know what causes it... But I've manually installed almost every supported scripts...

This is error at MQ 6 installation:

[Image: tfaxRZF.png]
find quote
gates Offline
Senior Member
Posts: 157
Joined: Jun 2010
Reputation: 2
Location: France
Post: #770
Hi Peehoo,

service.library.data.provider is not Random and last items smartplaylist script
find quote
mikebzh44 Offline
Posting Freak
Posts: 2,077
Joined: Nov 2011
Reputation: 57
Location: Nantes - France
Post: #771
That's right. Nothing to do with script.randomandlastitems

Get latest script.library.data.provider from GITHUB :

https://github.com/BigNoid/service.libra...a.provider

or submit this issue on Aeon MQ subforum.

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

Main HTPC : Core i3 2120T running OpenELEC with Aeon Nox 5 and my mod
Secondary HTPC : Freebox Mini 4K running Android TV with Aeon Nox 5 and my mod
find quote
peehoo Offline
Junior Member
Posts: 29
Joined: May 2014
Reputation: 0
Post: #772
Here is debug log for:

http://goo.gl/4RRTgU
find quote
ronie Offline
Team-Kodi Member
Posts: 11,984
Joined: Jan 2009
Reputation: 296
Post: #773
(2015-11-23 15:59)peehoo Wrote:  Here is debug log for:

http://goo.gl/4RRTgU

you're trying to install a very old version which isn't supported anymore.

you'll have more luck if you get 2.2.2 here:
http://mirrors.xbmc.org/addons/gotham/sc...lastitems/

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
peehoo Offline
Junior Member
Posts: 29
Joined: May 2014
Reputation: 0
Post: #774
Now I manually installed (copied) MQ6 skin and got it working but now I still have a uncertain feeling that everything is ok and I have all addons for needing this run correctly.
find quote
Livin Offline
Posting Freak
Posts: 3,621
Joined: May 2004
Reputation: 17
Location: above ground
Post: #775
I get an error with every since load. Debug log excerpt...

ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'xml.parsers.expat.ExpatError'>
Error Contents: not well-formed (invalid token): line 36, column 82
Traceback (most recent call last):
File "C:\Users\media\Documents\kodi\portable_data\addons\script.randomandlastitems\ran​domandlastitems.py", line 842, in <module>
_parse_argv()
File "C:\Users\media\Documents\kodi\portable_data\addons\script.randomandlastitems\ran​domandlastitems.py", line 763, in _parse_argv
_getPlaylistType ();
File "C:\Users\media\Documents\kodi\portable_data\addons\script.randomandlastitems\ran​domandlastitems.py", line 42, in _getPlaylistType
_doc = parse(xbmc.translatePath(PLAYLIST))
File "C:\Users\media\Documents\kodi\system\python\Lib\xml\dom\minidom.py", line 1918, in parse
return expatbuilder.parse(file)
File "C:\Users\media\Documents\kodi\system\python\Lib\xml\dom\expatbuilder.py", line 924, in parse
result = builder.parseFile(fp)
File "C:\Users\media\Documents\kodi\system\python\Lib\xml\dom\expatbuilder.py", line 207, in parseFile
parser.Parse(buffer, 0)
ExpatError: not well-formed (invalid token): line 36, column 82
-->End of Python script error report<--
20:17:29 T:4720 DEBUG: Random and Last items script: [RandomAndLastItems] # 01 # PLAYLIST special://profile/playlists/video/KidsTV.xsp COULD NOT BE LOADED ##
20:17:29 T:4720 DEBUG: Random and Last items script: [RandomAndLastItems] JSON RESULT {u'jsonrpc': u'2.0', u'id': 1, u'result': {u'limits': {u'start': 0, u'total': 0, u'end': 0}}}
20:17:29 T:5128 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
20:17:29 T:4520 DEBUG: Library Data Provider: script version 0.1.3 started
20:17:29 T:4720 DEBUG: Random and Last items script: Loading PlaylistRandomEpisode started at 2015-12-30 20:17:28 and take 1.146s
20:17:29 T:4720 INFO: CPythonInvoker(18, C:\Users\media\Documents\kodi\portable_data\addons\script.randomandlastitems\ran​domandlastitems.py): script successfully run
20:17:29 T:5292 DEBUG: Library Data Provider: script version 0.1.3 started
20:17:29 T:4520 DEBUG: Library Data Provider: script version 0.1.3 stopped
20:17:29 T:4520 INFO: CPythonInvoker(21, C:\Users\media\Documents\kodi\portable_data\addons\service.library.data.provider​\default.py): script successfully run
20:17:29 T:5560 INFO: Python script stopped
20:17:29 T:5560 DEBUG: Thread LanguageInvoker 5560 terminating
20:17:29 T:5292 DEBUG: Library Data Provider: script version 0.1.3 stopped
20:17:29 T:5292 INFO: CPythonInvoker(23, C:\Users\media\Documents\kodi\portable_data\addons\service.library.data.provider​\default.py): script successfully run
20:17:29 T:5668 DEBUG: script.favourites: script version 6.0.3 started
20:17:29 T:5668 DEBUG: script.favourites: ### params: {}

I'm not an expert but I play one at work.
find quote
mikebzh44 Offline
Posting Freak
Posts: 2,077
Joined: Nov 2011
Reputation: 57
Location: Nantes - France
Post: #776
Could you please give us the content of the smart playlist file : special://profile/playlists/video/KidsTV.xsp

See you in 2016 Wink

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

Main HTPC : Core i3 2120T running OpenELEC with Aeon Nox 5 and my mod
Secondary HTPC : Freebox Mini 4K running Android TV with Aeon Nox 5 and my mod
find quote
Livin Offline
Posting Freak
Posts: 3,621
Joined: May 2004
Reputation: 17
Location: above ground
Post: #777
(2015-12-31 18:02)mikebzh44 Wrote:  Could you please give us the content of the smart playlist file : special://profile/playlists/video/KidsTV.xsp

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="tvshows">
<name>Kids TV</name>
<match>all</match>
<rule field="path" operator="contains">/kids tv</rule>
<order direction="ascending">title</order>
</smartplaylist>

I'm not an expert but I play one at work.
find quote
mikebzh44 Offline
Posting Freak
Posts: 2,077
Joined: Nov 2011
Reputation: 57
Location: Nantes - France
Post: #778
Your smart playlist file looks OK.

Could you try with a playlist stored in C:\Users\media\Documents\kodi\portable_data\playlists\video and not in your Kodi profile folder ?

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

Main HTPC : Core i3 2120T running OpenELEC with Aeon Nox 5 and my mod
Secondary HTPC : Freebox Mini 4K running Android TV with Aeon Nox 5 and my mod
find quote
Post Reply