[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-16 Did you have the same issue with playlists stored in special://profile/playlists/video/ ? Can you send me your email by MP, I cannot post attachments - mikebzh44 - 2012-02-16 Or can you simply edit randomandlastitems.py and add the line in bold : Code: if PLAYLIST == "": and give me the log file. Thanks. - mad-max - 2012-02-16 mikebzh44 Wrote:Or can you simply edit randomandlastitems.py and add the line in bold : here you go: Code: 15:23:08 T:5016 WARNING: CUtil::GetMatchingSource... no matching source found for ['special://masterprofile/playlists/video/Dokumentationen.xsp'] Thanks! mad-max - mikebzh44 - 2012-02-16 Could you test with this calling (without ' before and after each parameter value): Code: <onload>XBMC.RunScript(script.randomandlastitems,limit=3,method=Last,playlist=special://skin/playlists/HDMovies.xsp,menu=Menu1)</onload> On my PC, I've got the same error as you if I put ' Maybe I have to handle this case and remove it when parsing parameters. - mad-max - 2012-02-16 mikebzh44 Wrote:Could you test with this calling (without ' before and after each parameter value): That did the trick...Now it works like a charm... Thanks! BTW and a bit OT: I recoded the GUI.ViewInstaller Window from 1080i to 720p...if you are interested, I can send you the xml... mm - mikebzh44 - 2012-02-16 mad-max Wrote:That did the trick...Now it works like a charm...For the ', I will try to manage it in the script. For your GUI windows, send it me by email (send by PM) - shaktoo - 2012-02-17 hello mikebzh44, its a wonderful script, unfortunately I am having trouble running it. here is the pastebin http://pastebin.com/uJiwQW1B Iam on windows 7x64, Eden 3b, tried in Glass & Aeon Nox Would appreciate any help - mikebzh44 - 2012-02-17 Hello. I think that you shouldn't put PlayMedia when setting playlist= Right way is : playlist=special://profile/playlists/videos/Bollywood Hollywood.xsp Sent from my mobile with tapatalk. - mad-max - 2012-02-18 mikebzh44 Wrote:Sent from my mobile with tapatalk. - mikebzh44 - 2012-02-18 It's not funny. My father in law (father of my wife) doesn't have Internet and I have to spend all my week-end in his house Sent from my mobile with tapatalk. - mad-max - 2012-02-18 No Internet is hard, but since when does forum.xbmc.org support tapatalk? That's why I laughed... Thought you were joking... mm - mikebzh44 - 2012-02-18 You're all right No tapatalk for forum.xbmc.org Sent from my Galaxy S - shaktoo - 2012-02-19 mikebzh44, could you please elaborate on the setting playlist part , i looked and found the playmedia reference and deleted it but It did not do anything, the playlists are working properly otherwise and I am not sure why this isnt working for me.. could yourself or anyone else please guide me how to.. will be much appreciated .. Thanks - mikebzh44 - 2012-02-19 Shaktoo, are you a skinner and do you want to add my script to your skin ? Or are you only a XBMC user ? If you are a skinner, you should call my script this way : XBMC.RunScript(script.randomandlastitems,playlist=special://profile/playlists/video/Bollywood Hollywood.xsp,method=Last,menu=Menu1) And use the properties returned : PlaylistLastMovieMenu1.Count PlaylistLastMovieMenu1.1.Title PlaylistLastMovieMenu1.2.Title as describe in the README.txt If you are only a user, you have to use a skin that can handle my script. The only one I know is Glass but you have to install version 112 or higher. - Martijn - 2012-02-19 Add skin 'Aeon Nox' to the list SVN/Git version. |