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


- Martijn - 2012-02-29 14:52

Eisi2005 Wrote:That could be the puzzle solution Smile

Sorry @mikebzh44 for the work.

Which skin support tv playlist to test the function ?

Greets
Eisi

Why don't you just wait two days until it is in Glass.


- Mudislander - 2012-02-29 14:53

Support added into Convergence. If script installed before adding playlist to home menu "should" automatically create the lists.

As usual bug reports and suggetions are welcome


- fmronan - 2012-02-29 14:56

Glass in two daysLaugh

[Image: 1330520125-screenshot004.png]


- butchabay - 2012-02-29 14:59

Eisi2005 Wrote:That could be the puzzle solution Smile

Sorry @mikebzh44 for the work.

Which skin support tv playlist to test the function ?

Greets
Eisi

one more Laugh Fusion Migma V2

[Image: cVFxS.jpg]


- Eisi2005 - 2012-02-29 15:07

THX for all the infos

Greets
Eisi


- mikebzh44 - 2012-02-29 15:19

If you want to test TV Shows playlists with Glass, you can edit includes.xml (in skin.Glass.svn/1080i directory), lines 2559 and 2560 :

before : playlist=,

after : playlist=special://masterprofile/playlists/video/Kinderseries.xsp,

Then relaunch XBMC, widgets now displaying episodes (Random and Last) from your playlist Wink


- Eisi2005 - 2012-02-29 21:53

@mikebzh44

something is wrong Sad

I have tested with modified glass and convergence skin and i become this debug log.

http://pastebin.com/7cE8w1BT

animation.xsp with childmovies is ok and Kinderserie.xsp and tv-serie.xsp with tv-shows don“t work whereas there is nothing different.

THX for your help

Greets
Eisi


- butchabay - 2012-02-29 22:12

Maybe you've tried to reactivate your playlists? Or maybe create the playlists again?


- mikebzh44 - 2012-02-29 22:12

With Glass, you have modifie the include.xml as :

Code:
    <onload>XBMC.RunScript(script.randomandlastitems,playlist=special://masterprofiles/playlists/video/tv-serie.xsp,method=Random,menu=TvShows,limit=10,unwatched=True,resume=False,type=E​pisode)</onload>
    <onload>XBMC.RunScript(script.randomandlastitems,playlist=special://masterprofiles/playlists/video/tv-serie.xsp,method=Last,menu=TvShows,limit=10,unwatched=True,resume=False,type=Epi​sode)</onload>

With this modifications, the TV-shows menu widgets should display Recently added and Random items from tv-shows playlist.

Don't use your tv-shows playlists with custom menus.


- mikebzh44 - 2012-03-01 09:38

@Eisi2005 : Convergence can only manage Movie Playlists, not TV-Shows playlists.

I will put a message on Convergence topic to inform skinner

With Glass and editing XML files, it should be OK. Or wait to the next SVN release.