[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 - mikebzh44 - 2014-10-02 I'm using Aeon Nox 4.1.9.9 and widgets based on smart playlists are OK : But on your second screenshot, "12 years a slave" is not related to any movies displayed on widget, right ? So i think you have to ask for skinner to add same behaviour for smart playlist menu as for default Movies menu. RE: [RELEASE] Random and last items smartplaylist script for Skins - ferdinand - 2014-10-02 (2014-10-02, 09:33)mikebzh44 Wrote: I'm using Aeon Nox 4.1.9.9 and widgets based on smart playlists are OK : Yes, what I show in the second pic (I think) is some function of the skin. It shows me the last partially viewed movie that I've seen. The last movie I play and then stop appears there but in the playlist there is nothing shown, I already have ask in the ACE skin forum, just waiting for response. Thanks for your great support! RE: [RELEASE] Random and last items smartplaylist script for Skins - mikebzh44 - 2014-10-29 @skinners : Did you continue to use this script for Helix release of your skins ? I know that a lot of skinners prefere to use plugin:// to load smart playlist and then populate widget because it's much more lighter in XML code. The only advantage for this script is to provide stats on smart playlist (number of items, number of items watched, ...) but maybe Helix will provide this too. Thanks. RE: [RELEASE] Random and last items smartplaylist script for Skins - phil65 - 2014-10-29 I don´t use it anymore. I also already wrote some python stuff to get library stats workin again. (BigNoid added that piece of code to service.library.data.provider already) RE: [RELEASE] Random and last items smartplaylist script for Skins - Hairy Hippy - 2014-11-26 Hi sincere apologies if this is in the wrong place. Getting the following error when switching profiles. How do I resolve? Any other information needed? Code: 17:28:08 T:9760 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- RE: [RELEASE] Random and last items smartplaylist script for Skins - Hairy Hippy - 2014-11-28 Is there no fix for this? Please let me know if you require further info. RE: [RELEASE] Random and last items smartplaylist script for Skins - mikebzh44 - 2014-11-28 Don't know, I don't use profile. You mean that when you are on your main profile, there is no script error but when you switch to another profile, then you get this error ? Does your smart playlists are identical between 2 profiles ? RE: [RELEASE] Random and last items smartplaylist script for Skins - Martijn - 2014-11-28 i think a simple change on line168 to PHP Code: if _json_query.has_key('result') and _json_query['result'].has_key('moviedetails'): would do the trick. at least it wouldn't fail the script. or check for _json_query.has_key('result') way earlier RE: [RELEASE] Random and last items smartplaylist script for Skins - creeve4 - 2014-12-05 I have modified the Confluence skin for my use and am attempting to integrate this script into my skin. in Home.xml I have: Code: <item id="10"> and in IncludesHomeRecentlyAdded.xml I have: Code: <item> The script seems to execute properly (no errors in the log file), but the recent movies widget on the Movies screen is empty. I'm still new to xbmc and trying to learn, any help is appreciated. RE: [RELEASE] Random and last items smartplaylist script for Skins - mikebzh44 - 2014-12-05 I don't know if it important but usually, script is call with onload, not <onfocus> Code: <onload>RunScript(script.randomandlastitems,limit=10,method=Last,playlist=special://masterprofile/playlists/video/Parents.xsp,menu=Menu1)</onload> And properties are filled properly : Code: 14:17:16 T:6420 NOTICE: ('PlaylistLastMovieMenu1.Name', 'Parents') You can edit randomandlastitems.py code in addon folder to add some debug information : Code: def _setProperty ( _property, _value ): You can also force property name : Code: XBMC.RunScript(script.randomandlastitems,limit=10,method=Last,playlist=special://videoplaylists/video/Movies.xsp,property=Menu1) And then use Menu1.1.Title RE: [RELEASE] Random and last items smartplaylist script for Skins - paradix - 2014-12-05 mikebzh44 is there any chance your script will support the Code: <content>plugin://...</content> RE: [RELEASE] Random and last items smartplaylist script for Skins - mikebzh44 - 2014-12-05 I don't think because a lot of skinners (BigNoid and Aeon Nox 5, Phil65 and Aeon ) use directly <content>plugin://...</content> with XSP file to retrieve information about smart playlists. I think that this script have made is time and it will be deprecated sooner or later. RE: [RELEASE] Random and last items smartplaylist script for Skins - Hairy Hippy - 2014-12-06 My smart playlists are the same between profiles. RE: [RELEASE] Random and last items smartplaylist script for Skins - mikebzh44 - 2014-12-06 I have push release 2.2.2 to repo including patch from Martijn (post #728), you still got the error ? RE: [RELEASE] Random and last items smartplaylist script for Skins - Hairy Hippy - 2014-12-06 (2014-12-06, 09:58)mikebzh44 Wrote: I have push release 2.2.2 to repo including patch from Martijn (post #728), you still got the error ? I think it has Mike. Many thanks! |