[RELEASE] TV Show Next Aired (Script) Addon - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151) +---- Thread: [RELEASE] TV Show Next Aired (Script) Addon (/showthread.php?tid=79493) |
- Hitcher - 2011-08-08 Lol, no worries reverted. - giftie - 2011-08-14 ronie - found two errors within the script. first one: line 190 in default.py reads as follows: Code: if not self.listing(): close("error listing") should be: Code: if not self.listing(): self.close("error listing") this is because the 'def close' is inside of the Class. Second error shows up if the user has the JSON RPC compact output turned off. This is done inside advancedsettings.xml(which I have set to false to make the output easier to read - for my own debugging ) : PHP Code: <jsonrpc> Here is the output of the JSON RPC Query with Compact Output set to False: http://pastebin.com/82Rp3hiR and set to True: http://pastebin.com/8Ur9jk78 This changes the format(adds a lot of tabs and spaces) which seems like the reg-ex fails to pick up the TV Show name. This also breaks TvTunes and Logo Downloader. Having the JSON RPC set to Compact Output(which is default of course), everything works fine. - Wanilton - 2011-08-14 Ronie, I translate script for portuguese(Brazil), download string file here, thanks... http://dl.dropbox.com/u/25170804/strings.xml - ronie - 2011-08-14 Wanilton Wrote:Ronie, I translate script for portuguese(Brazil), download string file here, thanks... thanx Wanilton, much appreciated! - samzstein - 2011-08-15 i cant get the script to open and refresh itself. please help here is my log file... http://pastebin.com/qVTdg8rW nevermind seems to have refreshed itself.. gotta love quality programing. - ronie - 2011-08-15 samzstein Wrote:i cant get the script to open and refresh itself. please help the script failed to connect to the tvrage website, hence it didn't update. probably some temp hickup on their end. - BigNoid - 2011-08-15 @ ronie: ppic was workin on a different solution for this script to integrate it in the videolibrary without a lot of visibility conditions. Do you have plans to do this? - ronie - 2011-08-15 Big_Noid Wrote:@ ronie: ppic was workin on a different solution for this script to integrate it in the videolibrary without a lot of visibility conditions. Do you have plans to do this? nope sorry. the only thing i wanted to accomplish was getting his scripts eden compatible. i don't mind doing a bit of bug fixing as well, but adding new functionality is not something i had in mind. - BigNoid - 2011-08-15 You did great on making it eden compatible. I think getting the info in the library thrugh this script is a workaround anyway. The next aired episide data and show status info should be available in xbmc database. EDIT: oh, that can never happen without rescraping... - Hitcher - 2011-08-15 Big_Noid Wrote:@ ronie: ppic was workin on a different solution for this script to integrate it in the videolibrary without a lot of visibility conditions. Do you have plans to do this? ronie Wrote:nope sorry. I wonder whether the new $VAR will help with this? - ronie - 2011-08-15 giftie Wrote:ronie - found two errors within the script. thanx giftie, will fix that one. :-) giftie Wrote:Second error shows up if the user has the JSON RPC compact output turned off. This is done inside advancedsettings.xml(which I have set to false to make the output easier to read - for my own debugging ) : after struggling with regex for hours and hours i haven't been able to come up with a fix yet. if you or anyone else has an idea, i'd certainly appreciate some help. - ronie - 2011-08-15 ronie Wrote:thanx giftie, will fix that one. :-) heh...as always...five minutes after you ask for help you figure it out yourself. - giftie - 2011-08-16 ronie Wrote:heh...as always...five minutes after you ask for help you figure it out yourself. It's always the case... It took me about two days to figure out the cause of the problem. Anyways I also got tired of regex and jsonrpc so I just use a module to convert the JSON RPC output to a Python DICT(http://forum.xbmc.org/showthread.php?tid=100598) - ronie - 2011-08-16 giftie Wrote:It's always the case... It took me about two days to figure out the cause of the problem. Anyways I also got tired of regex and jsonrpc so I just use a module to convert the JSON RPC output to a Python DICT(http://forum.xbmc.org/showthread.php?tid=100598) i'm aware and tried your solution some time ago :-) the only downside is the time needed for the conversion. it might not be a big deal for this script as it only does a single query, but if your script makes several (the globalsearch script i did makes 7 queries) you'll have to wait an additional 5 seconds or so before the results pop up. - sergiocos - 2011-08-23 worked on a clean install (latest version and previous). somehow it doesn't work now, suddenly... Quote:02:55:00 T:1796 NOTICE: -->Python Interpreter Initialized<-- |