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

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300)
+---- Thread: [RELEASE] Random and last items smartplaylist script for Skins (/showthread.php?tid=122448)



- mikebzh44 - 2012-02-21

Keep cool !

This script have done for Glass and FMRonan is the beta tester.

I think it's normal that he have the new features before everybody Wink

But I will post the new version maybe tomorrow or, at least, Thursday.

After that, I will be on holidays for a week and I have to work in my house (paints, make furnitures, ...) Confused


- mad-max - 2012-02-21

This "not funny" was just joking...
It's no problem for me to wait...as I posted in another thread:
Passion XBMC seems to be on fire...you released very cool addons recently...
So many awesome new features...
Keep up your terrific work!

mad-max


- mikebzh44 - 2012-02-21

We know that you were joking Wink

And Frost have just released an amazing addon !!!

http://forum.xbmc.org/showthread.php?p=1024731


- mikebzh44 - 2012-02-23

Version 1.1.0 released

v1.1.0
- [Fix] resume= is unable but can slow down the script (see README.txt or LISEZMOI.txt)
- [Add] You can now get last added or random episodes from series (work only on Library not on Playlist)

Script can now return last added episodes or random episodes.

Properties return to Home window (id 10000) :

Playlist<method><type><menu>.Count
Playlist<method><type><menu>.Unwatched
Playlist<method><type><menu>.Watched
Playlist<method><type><menu>.<# of movie>.Rating
Playlist<method><type><menu>.<# of movie>.Plot
Playlist<method><type><menu>.<# of movie>.RunningTime
Playlist<method><type><menu>.<# of movie>.Path
Playlist<method><type><menu>.<# of movie>.Fanart
Playlist<method><type><menu>.<# of movie>.Thumb

Properties returned only if type=Movie

Playlist<method>Movie<menu>.<# of movie>.Title
Playlist<method>Movie<menu>.<# of movie>.Year
Playlist<method>Movie<menu>.<# of movie>.Trailer

Properties returned only if type=Episode

Playlist<method>Episode<menu>.<# of movie>.ShowTitle
Playlist<method>Episode<menu>.<# of movie>.EpisodeTitle
Playlist<method>Episode<menu>.<# of movie>.EpisodeNo (sXXeXX)
Playlist<method>Episode<menu>.<# of movie>.EpisodeSeason
Playlist<method>Episode<menu>.<# of movie>.EpisodeNumber


- mikebzh44 - 2012-02-23

Version 1.1.0 released

v1.1.0
- [Fix] resume= is enable but can slow down the script (see README.txt or LISEZMOI.txt)
- [Add] You can now get last added or random episodes from series (work only on Library not on Playlist)

Parameter resume=True can slow down XBMC or freeze it a few seconds depending on your hardware.

The reason is that I have to make a JSONRPC request for each movie of the library / playlist to know if it's partially watched or not.

Script can now return last added episodes or random episodes.

Properties return to Home window (id 10000) :

Playlist<method><type><menu>.Count
Playlist<method><type><menu>.Unwatched
Playlist<method><type><menu>.Watched
Playlist<method><type><menu>.<# of movie>.Rating
Playlist<method><type><menu>.<# of movie>.Plot
Playlist<method><type><menu>.<# of movie>.RunningTime
Playlist<method><type><menu>.<# of movie>.Path
Playlist<method><type><menu>.<# of movie>.Fanart
Playlist<method><type><menu>.<# of movie>.Thumb

Properties returned only if type=Movie

Playlist<method>Movie<menu>.<# of movie>.Title
Playlist<method>Movie<menu>.<# of movie>.Year
Playlist<method>Movie<menu>.<# of movie>.Trailer

Properties returned only if type=Episode

Playlist<method>Episode<menu>.<# of movie>.ShowTitle
Playlist<method>Episode<menu>.<# of movie>.EpisodeTitle
Playlist<method>Episode<menu>.<# of movie>.EpisodeNo (sXXeXX)
Playlist<method>Episode<menu>.<# of movie>.EpisodeSeason
Playlist<method>Episode<menu>.<# of movie>.EpisodeNumber


- Eisi2005 - 2012-02-23

@mikebzh44

thx for the new version. But randonm or last widget for tvshow libary is existing from xbmc i think. Nice were this function with playlist for peoples who have playlist for child shows and adult shows.

Greets
Eisi


- mikebzh44 - 2012-02-23

Yes playlist will be added soon for series.

My script have also a special feature for Glass skin Wink


- Eisi2005 - 2012-02-23

@mikebzh44

that sounds good for me Smile

I have tested glass skin, on my testsystem it is ok. Bu on my ion living room pc it is to slow Sad

Greets
Eisi


- mikebzh44 - 2012-02-23

Did you have the same hardware as me (ION First gen : Atom 330 + GeForce 9300) ?

My HTPC is still running under Dharma but I think I will have to upgrade to Intel core i3 if I want to keep Glass Sad


- Eisi2005 - 2012-02-23

I have a celeron U2300 + ion Grafik

Zotac Zbox ND22

With Aeon Nox it is very very fast, but with glass it´s not so good Sad

Greets
Eisi


- mardup - 2012-02-23

@mikebzh44 : Merci Merci Merci !!!!

Like Eisi2005 said : this is a very great feature for people having playlist for childs

Something that will be greatest , is if backgound could display "only" fanarts of the movies from the playlist. !!!

...OR...

if the script "Artwork Organizer" could organize MoviesFanart accordind the movies playlists ( .. Ronie ? Rolleyes )

Thanks !


- fmronan - 2012-02-23

uncheck rss menu and unckeck two script in addon>service: mail notifier and headlines daemon


- mikebzh44 - 2012-02-23

@mardup :
Avec Glass, c'est possible :
With Glass, it's possible :
Image
C'est la même chose avec les films
It's the same with movies


- mikebzh44 - 2012-02-23

mardup Wrote:Something that will be greatest , is if backgound could display "only" fanarts of the movies from the playlist. !!!

...OR...

if the script "Artwork Organizer" could organize MoviesFanart accordind the movies playlists
Could you explain it in French and in English Wink


- mikebzh44 - 2012-02-25

Version 1.1.1 released

v1.1.1
- [Add] Script can manage tv shows and episodes playlist
- [Add] Propertie Rootpath to get the directory of the movie or the tvshow (to display extrafanarts and so on)

Script can manage tv shows playlists and episodes playlists but the first one will be faster thant the second because of JSONRPC requests.

When working on tvshows playlists, script have to make a request for each tv show to get episodes.