[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) |
RE: [RELEASE] Random and last items smartplaylist script for Skins - denywinarto - 2013-04-30 Problem solved, it's skin-related RE: [RELEASE] Random and last items smartplaylist script for Skins - butchabay - 2013-05-02 Hi dudes, just wondering, can Property(RunTime) be added for tv shows / episodes ? Thanx RE: [RELEASE] Random and last items smartplaylist script for Skins - denywinarto - 2013-05-04 Hi Mike, i have a question, is it possible to filter the result with ratings ? e.g return 10 random movies with ratings above 6.0 ? I'm trying to make some kind of recommendations for high-rated movies RE: [RELEASE] Random and last items smartplaylist script for Skins - `Black - 2013-05-04 Create a smart playlist with all your movies with rating >= 6.0, then use that playlist and return random results. RE: [RELEASE] Random and last items smartplaylist script for Skins - denywinarto - 2013-05-04 (2013-05-04, 13:19)`Black Wrote: Create a smart playlist with all your movies with rating >= 6.0, then use that playlist and return random results. Thanks i just remembered your answer from other thread lol RE: [RELEASE] Random and last items smartplaylist script for Skins - mikebzh44 - 2013-05-04 (2013-05-02, 21:26)butchabay Wrote: Hi dudes, just wondering, can Property(RunTime) be added for tv shows / episodes ? Sure but I'm on holidays ;) Remind me after monday 13th may. RE: [RELEASE] Random and last items smartplaylist script for Skins - tomska - 2013-05-04 Would it be possible to also allow random selection of tv shows, not tv show episodes? I'm using it with Aeon Nox to display random fanart background for my smart-playlist-powered home menu items. My problem is that I've got one show with nearly as many episodes as all other shows together, so it's fanart is displayed about 50% of the time. RE: [RELEASE] Random and last items smartplaylist script for Skins - denywinarto - 2013-05-06 Hi Mike, just a quick question, is this the correct way to call your script? PHP Code: <onload condition="System.HasAddon(script.randomandlastitems) + !IsEmpty(skin.string(vpl1.path))">RunScript(script.randomandlastitems,limit=1,method=Random,playlist=special://masterprofile/playlists/video/Recommended_Barat.xsp,menu=Menu51)</onload> (vpl1.path is the path to the first video playlist) It's supposed to call a widget that shows Movies with rating > 6 And the script runs when one of the left menu is on focus.. If the number of movie is one everytime the script runs, then the limit is 1 correct? I set the parameters like this : PHP Code: <include name="rec_contentvpl1"> I can't get it to work though.. This is the complete thread.. http://forum.xbmc.org/showthread.php?tid=164103&pid=1413793#pid1413793 RE: [RELEASE] Random and last items smartplaylist script for Skins - `Black - 2013-05-06 If you call it with method=Random, the properties are PlaylistRandomMovieMenu51. RE: [RELEASE] Random and last items smartplaylist script for Skins - denywinarto - 2013-05-06 (2013-05-06, 12:03)`Black Wrote: If you call it with method=Random, the properties are PlaylistRandomMovieMenu51. Thanks black, changed it, but it still doesn't fix the problem.. It's still showing blank panel Is everything else on my thread correct? RE: [RELEASE] Random and last items smartplaylist script for Skins - mikebzh44 - 2013-05-06 Sorry, I'm on holydays. If you know how to do, put some print of properties in python script to see what script return. RE: [RELEASE] Random and last items smartplaylist script for Skins - schumi2004 - 2013-05-07 Hi all, I'm playing with the resume = True/False | resume=True to filter only partially watched items parameter but it's unclear for me how (and which) parameters to use. If i look at example i think it should look like this XBMC.RunScript(script.RandomAndLastItems,resume=True,playlist=special://masterprofile/playlists/video/children.xsp,menu=Menu1) I removed type since it is read from playlist according wiki, also removed limit since it would only show 1 item (and default would be 10) and not sure if Method is needed for it? If it's needed i would say it should be set to Last? RE: [RELEASE] Random and last items smartplaylist script for Skins - denywinarto - 2013-05-08 Hi, i kinda figured out the last problem.. But i run into another prob.. Just wanna ask 1 quick question : Is it possible to run both random and last at the same time ? The bottom panel in the skin will run random and the upper will run last something like this : PHP Code: <include name="RecommendedFocus"> each uses different playlist... and both have same condition, onfocus RE: [RELEASE] Random and last items smartplaylist script for Skins - butchabay - 2013-05-13 (2013-05-04, 21:31)mikebzh44 Wrote:(2013-05-02, 21:26)butchabay Wrote: Hi dudes, just wondering, can Property(RunTime) be added for tv shows / episodes ? Reminder RE: [RELEASE] Random and last items smartplaylist script for Skins - mikebzh44 - 2013-05-13 Thanks for reminding me You can try the latest release from GITHUB : https://github.com/XBMC-Addons/script.randomandlastitems Property Runtime is returned for Episodes / TV shows. No bugs on my side but I just put some debug print in my log, tell me if on the skinner side, every thing is OK. Thanks. |