[RELEASE] Watchlist script (was 'Adding Plex's 'On Deck' feature to XBMC') - 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] Watchlist script (was 'Adding Plex's 'On Deck' feature to XBMC') (/showthread.php?tid=113702) |
- bnevets27 - 2011-11-14 ronie Wrote:script.watchlist-0.0.4.zip I have a feeling this is kinda a stupid question (its late) but how do I use this? I tried to install it as an addon but that didn't work. I'm on eden-pre. - Martijn - 2011-11-14 bnevets27 Wrote:I have a feeling this is kinda a stupid question (its late) but how do I use this? I tried to install it as an addon but that didn't work. I'm on eden-pre. This only works if the skin you use supports it so you better ask in the skin thread. - Hitcher - 2011-11-14 bnevets27 Wrote:I have a feeling this is kinda a stupid question (its late) but how do I use this? I tried to install it as an addon but that didn't work. I'm on eden-pre. silvine Wrote:I tried this under the NEON skin in Openelec and it didn't work. Any ideas? ronie Wrote:please respect the fact that this is a skin dev forum, Skin Development GUI and Web skins/themes, graphics development and suggestions. No End-User Support Requests! Only skinners and graphic artists. - ronie - 2011-11-14 snipah Wrote:after a reboot everything i working great again, but the script error sucks. can you reproduce this? if so, mind adding some logging to the script and post another Debug Log. in script.watchlist/default.py, line 34, insert the line in old: Code: log("### load response") - ronie - 2011-11-14 odt_x Wrote:Here you go,http://pastebin.com/wbUnCBg8 it's the db call that are taking up all the time. i may be able to code the episode part of the script in a different way, and it might speed things up... i'll give it a shot, but it could take some time before i get to it. - snipah - 2011-11-14 ronie Wrote:can you reproduce this? Thanks ronie, yes, it resproduceable. I added the bold line to default.py. Log becomes quite huge afterwards, so I put it to pastebin. Hope it helps... http://pastebin.com/8NBUsUB9 if you need additional information...please, please ask! - bnevets27 - 2011-11-14 Hitcher Wrote:Skin Development GUI and Web skins/themes, graphics development and suggestions. Oops, sorry about that, didn't realize this was in the development section. May I ask what skins support this currently? - el_Paraguayo - 2011-11-14 snipah Wrote:Thanks ronie, May be unrelated, but I had an issue with simplejson parsing results that contained accented letters... I'll leave it to Ronie though as I'm a mere amateur scripter! - ronie - 2011-11-15 snipah Wrote:Thanks ronie, well...it's a long shot, but worth a try... could you replace script.module.simplejson in your addon dir with this one: script.module.simplejson-2.2.1.zip - snipah - 2011-11-15 ronie Wrote:well...it's a long shot, but worth a try... Thanks ronie! Will definitely try when I get home from work today. I'm wondering, why everything works 100% on initial boot. The script error occurs when returning to home-screen after watching a movie or tv-show. If I reboot again, everything works fine again and all information is shown correctly (e. g. the next episode from a tv-show). Tried Cirrus Extended v2 and Aeon Nox and both skins show the same behaviour as described above. As it works after reboot: Where is the difference between starting the script after reboot and returning to homescreen after watching something? - snipah - 2011-11-15 Sorry, but script error still occurs, although I replaced the existing script.module.simplejson with the new one from the zip-file, Wrote DEBUG-LOG again, without the additional line to keep it shorter http://pastebin.com/pQENLaR9 What does that mean? Code: 20:16:36 T:2856819568 INFO: Scriptresult: Success - ronie - 2011-11-16 snipah Wrote:What does that mean? it means the simplejson module crashes. i think i've spotted the issue.. it seems we get an invalid json response from xbmc. i've notified one of our json devs and he'll look into it. - ronie - 2011-11-16 @ snipah: could you please post a full Debug Log, by following these steps ? please re-include the log line i've pasted a few posts back. - enable debug logging - restart xbmc - make sure the script runs correctly - play a movie - make sure the script crashes - post the full Debug Log (it will be big, split in multiple parts if needed) if you could, also a screenshot of Settings > Appearance > International would be most welcome. - ronie - 2011-11-16 ^ if anyone else is having the same issue, i'd like to hear out it. http://trac.xbmc.org/ticket/12215 - Martijn - 2011-11-16 Not me personally however this guy did: http://forum.xbmc.org/showthread.php?tid=114633&page=2 From post #11 and on. All his settings had an " , " So not only a JSON problem. |