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)



- Martijn - 2012-02-10 18:58

mikebzh44 Wrote:Oups ! addon.xml corrected Wink

I don't know how to publish this script to official XBMC repo.
Well let's say a minor glitch Wink

Explained here on how to send to xbmc repo:
http://wiki.xbmc.org/index.php?title=Official_add-on_repository

It's not that difficult. Even I did manage to do it Wink
Just make sure all is functioning like it should and let people test it before sending.


- mikebzh44 - 2012-02-10 19:00

Yes, I will wait few days before posting on official repository Wink


- Hitcher - 2012-02-10 19:47

So if the user has a custom playlist (ie Kids) we can use this script to display the latest added items to that playlist in the same way we currently do for the standard library?


- mikebzh44 - 2012-02-10 19:58

Yes, script can provide latest added movies or random movies from any playlist or both (with a double call) as in Glass :

[Image: 1328873809-screenshot135.png]

"Fims aléatoires" = "Random movies"
"Derniers films" = "Lastest movies"


- Hitcher - 2012-02-10 23:57

Very useful, hopefully it'll get on the official repo as Martijn suggested.

PS. A readme is always handy in the addon.


- Martijn - 2012-02-11 00:02

Hitcher Wrote:PS. A readme is always handy in the addon.

there's a readme in the .zip file Wink


- mikebzh44 - 2012-02-11 00:02

README.txt(english) and LISEZMOI.txt (french) are provided in the ZIP file.

EDIT : Martijn is the faster Wink


- Hitcher - 2012-02-11 00:06

Sorry, should have downloaded it and checked first.

Thanks anyway.


- mikebzh44 - 2012-02-11 18:04

Little problem when running script with Last parameter.

Request does not return movie in date ordre but in alphabetical ordrer, even if I put a sort order on date in JSONRPC request.


- Big_Noid - 2012-02-12 13:00

great initiative, testing it as we speak. just a heads up if this goes to official repo; you should rename the addon to all lowercase, don't think it's allowed to have uppercase in the addon foldername.