• 1
  • 15
  • 16
  • 17(current)
  • 18
  • 19
  • 53
[RELEASE] Random and last items smartplaylist script for Skins
Good news !

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

Main HTPC : Odroid-C2 running CoreELEC with Titan Bingie
Secondary HTPC : Freebox Mini 4K running Android TV with Titan Bingie
Reply
thanks
Reply
Version 1.2.4 released

v1.2.4
- [Fix] Albums properties were not cleared properly
- [Add] New property AlbumDesc

Playlist<method>Music<menu>.<# of album>.AlbumDesc = Album N°# description

Will be available soon on official repository.
Sorry for my english, but, you know, I'm French so ...

Main HTPC : Odroid-C2 running CoreELEC with Titan Bingie
Secondary HTPC : Freebox Mini 4K running Android TV with Titan Bingie
Reply
has anyone ever seen this?

09:11:42 T:1296 WARNING: Unknown sort method 0
09:11:45 T:3048 WARNING: Previous line repeats 27 times.
09:11:45 T:3048 NOTICE: [RandomAndLastItems] ## PLAYLIST special://profile/playlists/video/_ANIME.xsp COULD NOT BE LOADED ##
09:11:45 T:3048 NOTICE: ('[RandomAndLastItems] JSON RESULT ', {u'jsonrpc': u'2.0', u'id': 1, u'result': {u'limits': {u'start': 0, u'total': 0, u'end': 0}}})
09:11:45 T:3048 WARNING: Unknown sort method 0
09:11:45 T:1296 WARNING: Previous line repeats 3 times.
09:11:45 T:1296 NOTICE: Loading PlaylistLastMovie started at 2012-06-26 09:10:07 and take 1.637m
09:11:45 T:3048 WARNING: Unknown sort method 0
09:11:45 T:3048 WARNING: Previous line repeats 4 times.
09:11:45 T:3048 NOTICE: [RandomAndLastItems] ## PLAYLIST special://profile/playlists/video/_ANIME.xsp COULD NOT BE LOADED ##
09:11:45 T:3048 NOTICE: ('[RandomAndLastItems] JSON RESULT ', {u'jsonrpc': u'2.0', u'id': 1, u'result': {u'limits': {u'start': 0, u'total': 0, u'end': 0}}})
Reply
Why "_" before ANIME?
Reply
that's just how i name things.

what's weird is that it works sometimes... and borks out others

Quote:<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="tvshows">
<name>Anime</name>
<match>one</match>
<rule field="path" operator="startswith">smb://server/_ANIME/</rule>
<order direction="ascending">tvshow</order>
</smartplaylist>
Reply
Same NOTICE in LOG :

Code:
16:26:55 T:2688  NOTICE: [RandomAndLastItems] ## PLAYLIST  COULD NOT BE LOADED ##
16:26:55 T:1212  NOTICE: [RandomAndLastItems] ## PLAYLIST  COULD NOT BE LOADED ##
16:26:55 T:2420  NOTICE: [RandomAndLastItems] ## PLAYLIST special://profile/playlists/music/U2.xsp COULD NOT BE LOADED ##
16:26:56 T:4060  NOTICE: [RandomAndLastItems] ## PLAYLIST special://profile/playlists/video/cartoons.xsp COULD NOT BE LOADED ##

but everything is OK

I think it's due to JSON security :

http://forum.xbmc.org/showthread.php?tid...pid1017823
Sorry for my english, but, you know, I'm French so ...

Main HTPC : Odroid-C2 running CoreELEC with Titan Bingie
Secondary HTPC : Freebox Mini 4K running Android TV with Titan Bingie
Reply
I'm mistaken.

I get this NOTICE because I'm on my office PC and my library is empty so cartoons.xsp cannot be loaded because there is no movies to display.

On default skin Confluence, can you browse your smart playlists ?

Video > Library > Playlists > Anime
Sorry for my english, but, you know, I'm French so ...

Main HTPC : Odroid-C2 running CoreELEC with Titan Bingie
Secondary HTPC : Freebox Mini 4K running Android TV with Titan Bingie
Reply
(2012-06-26, 16:51)mikebzh44 Wrote: I'm mistaken.

I get this NOTICE because I'm on my office PC and my library is empty so cartoons.xsp cannot be loaded because there is no movies to display.

On default skin Confluence, can you browse your smart playlists ?

Video > Library > Playlists > Anime

i'm actually starting to think it's more of an MySQL problem... my log is flooded with

Quote:09:59:08 T:3924 ERROR: Unable to open database: nguyencongvideo64 [2003](Can't connect to MySQL server on '192.168.1.137' (10055))
09:59:08 T:3924 ERROR: Previous line repeats 1 times.
09:59:08 T:3924 ERROR: Unable to open database: nguyencongvideo63 [2003](Can't connect to MySQL server on '192.168.1.137' (10055))
09:59:08 T:3924 ERROR: Unable to open database: nguyencongvideo62 [2003](Can't connect to MySQL server on '192.168.1.137' (10055))

that continues down to video01 and tries again back @ 64
Reply
is there a method of uninstalling this add-on to test... ( can't seem to find it enabled add-ons )
Reply
I saw that you've make somes change in $VAR[MusicFanartVar], but it still does not work for meConfused
Reply
Just remove or rename the directory.

On Windows XP : C:\Documents and Settings\<user>\Application Data\XBMC\addons\script.randomandlastitems
Sorry for my english, but, you know, I'm French so ...

Main HTPC : Odroid-C2 running CoreELEC with Titan Bingie
Secondary HTPC : Freebox Mini 4K running Android TV with Titan Bingie
Reply
oups wrong post, sorry
Reply
Hi, thanks for this script,
but there's a small problem, i'm getting that parse error script, here's what it looks like :
Code:
16:59:54 T:30184   ERROR: JSONRPC: Failed to parse '{"jsonrpc": "2.0", "method": "Files.GetDirectory", "params": {"directory": "C:\Users\DENY\AppData\Roaming\XBMC\userdata\playlists\video\Film_Barat.xsp", "media": "video", "properties": ["year", "runtime", "file", "playcount", "rating", "plot", "fanart", "thumbnail", "trailer", "streamdetails"]}, "id": 1}'
16:59:54 T:30184  NOTICE: [RandomAndLastItems] ## PLAYLIST C:\Users\DENY\AppData\Roaming\XBMC\userdata\playlists\video\Film_Barat.xsp COULD NOT BE LOADED ##
16:59:54 T:30184  NOTICE: ('[RandomAndLastItems] JSON RESULT ', {u'jsonrpc': u'2.0', u'id': None, u'error': {u'message': u'Parse error.', u'code': -32700}})
16:59:54 T:30184  NOTICE: Loading PlaylistLastMovieMenu1 started at 2012-07-03 16:59:54 and take 0.301s
17:00:05 T:28948  NOTICE: Storing total System Uptime
17:00:05 T:28948  NOTICE: Saving settings
17:00:05 T:28948  NOTICE: stop all

I have 2 custom home menus, asian and west movies
Because of this i can't separate recently added asian and west,
That playlist (Film_Barat.xsp) works fine in transparency..
I'd appreciate if you could help me.. Just need this to get my mod done Smile
Reply
Could you post Film_Barat.xsp on http://xbmclogs.com/? please.

When you browser this smart playlist, movies are displayed in XBMC ?
Sorry for my english, but, you know, I'm French so ...

Main HTPC : Odroid-C2 running CoreELEC with Titan Bingie
Secondary HTPC : Freebox Mini 4K running Android TV with Titan Bingie
Reply
  • 1
  • 15
  • 16
  • 17(current)
  • 18
  • 19
  • 53

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Random and last items smartplaylist script for Skins1