XBMC Community Forum
[RELEASE] Random and last items smartplaylist script for Skins - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Skin Development (/forumdisplay.php?fid=12)
+--- Thread: [RELEASE] Random and last items smartplaylist script for Skins (/showthread.php?tid=122448)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - fmronan - 2012-06-26 18:06

I saw that you've make somes change in $VAR[MusicFanartVar], but it still does not work for meFrown


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - mikebzh44 - 2012-06-26 18:10

Just remove or rename the directory.

On Windows XP : C:\Documents and Settings\<user>\Application Data\XBMC\addons\script.randomandlastitems


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - fmronan - 2012-06-26 18:18

oups wrong post, sorry


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - denywinarto - 2012-07-03 12:07

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


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - mikebzh44 - 2012-07-03 12:11

Could you post Film_Barat.xsp on http://xbmclogs.com/? please.

When you browser this smart playlist, movies are displayed in XBMC ?


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - denywinarto - 2012-07-03 12:26

(2012-07-03 12:11)mikebzh44 Wrote:  Could you post Film_Barat.xsp on http://xbmclogs.com/? please.

When you browser this smart playlist, movies are displayed in XBMC ?

Thanks for the fast response,
Like this?

http://xbmclogs.com/show.php?id=4416

Yes, it shows the correct movies from that category
(film barat is west movie)

Oh yea, and there's aplhabetical subfolders after that folder
/Film Barat
// A-E
// F-J
// K-O
// P-T
// U-Z
And the movies are inside a folder based on their names,
e,g ironman :
K:\Multimedia\Film_Barat\F-J\Ironman\Ironman.avi


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - mikebzh44 - 2012-07-05 10:01

Hi Deny.

I don't know what's happen on your HTPC but with your movie database and your smart playlist file, I have no issue on my HTPC running Glass skin :

As you can see, home widget display latest movies (no thumbnail because I don't have your cache directory) :

[Image: 1341475202-screenshot000.png]

And the smart playlist is OK :

[Image: 1341475233-screenshot001.png]

Which OS and skin did you use ?


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - Mudislander - 2012-07-08 15:36

I've had a request to show a widget for musicvideos on confluence.lite.mod . Any chance of getting support for musicvideos with this script ?

Cheers hey.


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - mikebzh44 - 2012-07-08 20:50

I will have a look this week Wink

I think it's possible.


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - mikebzh44 - 2012-07-09 09:18

I can't test as I don't have musicvideo yet but I think that with a smart playlist, you can display musicvideo in widgets.

But I will add some DVD concert to my library and look if I can add this to the script.