[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 - butchabay - 2013-05-13 (2013-05-13, 14:07)mikebzh44 Wrote: Thanks for reminding me Thanx mate, will test it this evening and report. RE: [RELEASE] Random and last items smartplaylist script for Skins - butchabay - 2013-05-15 Sorry mate just hadn't the time to test it yet, will do this evening ... RE: [RELEASE] Random and last items smartplaylist script for Skins - butchabay - 2013-05-15 Well, i have tested and it's showing values as seconds, Example for 44 minutes: 2618 minutes RE: [RELEASE] Random and last items smartplaylist script for Skins - mikebzh44 - 2013-05-16 Sorry. I've just push a commit on GITHUB to convert runtime from seconds to minutes. RE: [RELEASE] Random and last items smartplaylist script for Skins - butchabay - 2013-05-16 Thanx! RE: [RELEASE] Random and last items smartplaylist script for Skins - butchabay - 2013-05-17 Works perfect, thanx mate ! RE: [RELEASE] Random and last items smartplaylist script for Skins - mikebzh44 - 2013-05-17 So, we are waiting for a patch from Black and I think that a new version will be release very soon RE: [RELEASE] Random and last items smartplaylist script for Skins - butchabay - 2013-05-17 May i ask for another request Is it possible to add watched status true/false for tvshows/episodes ? Thanx RE: [RELEASE] Random and last items smartplaylist script for Skins - mikebzh44 - 2013-05-22 Before pushing this new properties to GITHUB, can you test this script : https://www.dropbox.com/s/wqw3mlduy64bjka/randomandlastitems.py Properties : 16:01:00 T:7864 NOTICE: ('SmartPlaylist4.1.Resumed', 'False') 16:01:00 T:7864 NOTICE: ('SmartPlaylist4.1.Watched', 'False') 16:01:01 T:7436 NOTICE: ('SmartPlaylist5.1.Resumed', 'False') 16:01:01 T:7436 NOTICE: ('SmartPlaylist5.1.Watched', 'False') 16:01:01 T:7864 NOTICE: ('SmartPlaylist4.2.Resumed', 'False') 16:01:01 T:7864 NOTICE: ('SmartPlaylist4.2.Watched', 'True') 16:01:01 T:7864 NOTICE: ('SmartPlaylist4.3.Resumed', 'False') 16:01:01 T:7864 NOTICE: ('SmartPlaylist4.3.Watched', 'False') 16:01:01 T:7436 NOTICE: ('SmartPlaylist5.2.Resumed', 'False') 16:01:01 T:7436 NOTICE: ('SmartPlaylist5.2.Watched', 'True') 16:01:01 T:7864 NOTICE: ('SmartPlaylist4.4.Resumed', 'False') 16:01:01 T:7864 NOTICE: ('SmartPlaylist4.4.Watched', 'True') 16:01:01 T:7436 NOTICE: ('SmartPlaylist5.3.Resumed', 'False') 16:01:01 T:7436 NOTICE: ('SmartPlaylist5.3.Watched', 'False') 16:01:01 T:7864 NOTICE: ('SmartPlaylist4.5.Resumed', 'False') 16:01:01 T:7864 NOTICE: ('SmartPlaylist4.5.Watched', 'False') 16:01:01 T:7436 NOTICE: ('SmartPlaylist5.4.Resumed', 'False') 16:01:01 T:7436 NOTICE: ('SmartPlaylist5.4.Watched', 'True') 16:01:01 T:7864 NOTICE: ('SmartPlaylist4.6.Resumed', 'False') 16:01:01 T:7864 NOTICE: ('SmartPlaylist4.6.Watched', 'False') 16:01:01 T:7436 NOTICE: ('SmartPlaylist5.5.Resumed', 'False') 16:01:01 T:7436 NOTICE: ('SmartPlaylist5.5.Watched', 'False') 16:01:02 T:7864 NOTICE: ('SmartPlaylist4.7.Resumed', 'False') 16:01:02 T:7864 NOTICE: ('SmartPlaylist4.7.Watched', 'False') 16:01:02 T:7436 NOTICE: ('SmartPlaylist5.6.Resumed', 'False') 16:01:02 T:7436 NOTICE: ('SmartPlaylist5.6.Watched', 'False') 16:01:02 T:7436 NOTICE: ('SmartPlaylist5.7.Resumed', 'False') 16:01:02 T:7436 NOTICE: ('SmartPlaylist5.7.Watched', 'False') 16:01:02 T:7864 NOTICE: ('SmartPlaylist4.8.Resumed', 'False') 16:01:02 T:7864 NOTICE: ('SmartPlaylist4.8.Watched', 'False') 16:01:02 T:7864 NOTICE: ('SmartPlaylist4.9.Resumed', 'False') 16:01:02 T:7864 NOTICE: ('SmartPlaylist4.9.Watched', 'False') 16:01:02 T:7436 NOTICE: ('SmartPlaylist5.8.Resumed', 'False') 16:01:02 T:7436 NOTICE: ('SmartPlaylist5.8.Watched', 'False') 16:01:02 T:7436 NOTICE: ('SmartPlaylist5.9.Resumed', 'False') 16:01:02 T:7436 NOTICE: ('SmartPlaylist5.9.Watched', 'False') 16:01:02 T:7864 NOTICE: ('SmartPlaylist4.10.Resumed', 'False') 16:01:02 T:7864 NOTICE: ('SmartPlaylist4.10.Watched', 'False') 16:01:02 T:7436 NOTICE: ('SmartPlaylist5.10.Resumed', 'False') 16:01:02 T:7436 NOTICE: ('SmartPlaylist5.10.Watched', 'False') RE: [RELEASE] Random and last items smartplaylist script for Skins - butchabay - 2013-05-22 Watched True / False is working ! Resumed not tested as i don't use it ... Thanx ! RE: [RELEASE] Random and last items smartplaylist script for Skins - mikebzh44 - 2013-05-23 (2013-05-22, 22:28)butchabay Wrote: Watched True / False is working ! Resumed not tested as i don't use it ... So I will push this new properties on github today. RE: [RELEASE] Random and last items smartplaylist script for Skins - mikebzh44 - 2013-05-23 GITHUB is updated : - new property Watched is set for episodes - property Resume (true or false string value) already exist I don't think renaming Resume property to Resumed is a good idea as skinners are may be already using Resume property. And I don't want to duplicate properties. RE: [RELEASE] Random and last items smartplaylist script for Skins - mika91 - 2013-05-27 Hi, I'm skinning a Confluence Mod, and I' d like to make a widget for 5 random movies, episodes and albums. I want the skin to be light and work on Raspberry Pi. 1) Running script only for random items shouldn't be long because of a few database queries, isn't it? 2) And for random items in a smartplaylist ? Thanks for your work. RE: [RELEASE] Random and last items smartplaylist script for Skins - mikebzh44 - 2013-05-27 Don't know if Raspberry Pi is powerfull enough to run my script. For Random movies, episodes and albums, I think that you should use service.skin.widgets script. For playlist, you try my script on your Raspberry and look at the log, there is a debug message for showing request time. RE: [RELEASE] Random and last items smartplaylist script for Skins - denywinarto - 2013-06-03 Hi Mike, where can i get the previous version of this script? The latest version causing the script to crash Code: 15:34:53 T:3484 ERROR: EXCEPTION: argument "value" for method "setProperty" must be unicode or str Nevermind, i found it by re-downloading ace on another PC the version that works is 1.2.5 I got a little problem though, I have 2 music playlists (Barat & Asia), each has "path starts with" rule But the script won't show the recent / random in ace skin. Normal recently added list works fine, so the problem has something to do with the script. I tried it again on another PC, and yes i can confirm this This script won't work on Ace + Music smart playlist Normal With script Any way to fix it? The Log does not show any error related to the script strangely, updating the script to the latest version (2.1.5), crashed the script with the error log above |