[RELEASE] Random and last items smartplaylist script for Skins

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Martijn Offline
Team-XBMC
Posts: 7,787
Joined: Jul 2011
Reputation: 115
Location: Dawn of time
Post: #11
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=Off...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.

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
mikebzh44 Offline
Posting Freak
Posts: 1,116
Joined: Nov 2011
Reputation: 21
Location: Nantes - France
Post: #12
Yes, I will wait few days before posting on official repository Wink

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

find quote
Hitcher Offline
Skilled Skinner
Posts: 9,976
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #13
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?

[Image: sig_zps3af3b48e.jpg]
find quote
mikebzh44 Offline
Posting Freak
Posts: 1,116
Joined: Nov 2011
Reputation: 21
Location: Nantes - France
Post: #14
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"

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

find quote
Hitcher Offline
Skilled Skinner
Posts: 9,976
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #15
Very useful, hopefully it'll get on the official repo as Martijn suggested.

PS. A readme is always handy in the addon.

[Image: sig_zps3af3b48e.jpg]
find quote
Martijn Offline
Team-XBMC
Posts: 7,787
Joined: Jul 2011
Reputation: 115
Location: Dawn of time
Post: #16
Hitcher Wrote:PS. A readme is always handy in the addon.

there's a readme in the .zip file Wink

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
mikebzh44 Offline
Posting Freak
Posts: 1,116
Joined: Nov 2011
Reputation: 21
Location: Nantes - France
Post: #17
README.txt(english) and LISEZMOI.txt (french) are provided in the ZIP file.

EDIT : Martijn is the faster Wink

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

find quote
Hitcher Offline
Skilled Skinner
Posts: 9,976
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #18
Sorry, should have downloaded it and checked first.

Thanks anyway.

[Image: sig_zps3af3b48e.jpg]
find quote
mikebzh44 Offline
Posting Freak
Posts: 1,116
Joined: Nov 2011
Reputation: 21
Location: Nantes - France
Post: #19
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.

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

find quote
Big_Noid Online
Skilled Skinner
Posts: 2,627
Joined: Jul 2010
Reputation: 68
Location: Below sea level
Post: #20
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.
find quote
Post Reply