Release TV Show Next Aired (Script) Addon, now w/TheTVDB data - 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, now w/TheTVDB data (/showthread.php?tid=186090) |
RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - patseguin - 2014-03-22 I am getting a script failed error in Aeon Nox. Is this due to 6.0.5 of the script? Because it worked fine until only recently. RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - LEDFan - 2014-03-22 Are you using the latest zip or git file from post #1? Wayne made a fix earlier today (as you can see in the posts just before yours) and it has fixed it for me. RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - warlion - 2014-03-22 (2014-03-22, 22:31)patseguin Wrote: I am getting a script failed error in Aeon Nox. Is this due to 6.0.5 of the script? Because it worked fine until only recently. My car is broken can you fix it? You get my point? Debug log RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - thewarm - 2014-03-23 Rolled back to 6.04. No script error. RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - WayneD - 2014-03-23 (2014-03-23, 17:27)thewarm Wrote: Rolled back to 6.04. No script error.Can you please try 6.0.6? I released that early yesterday, but it's not in the approved repositories yet. ..wayne.. RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - Ton_O - 2014-03-23 [/quote] Can you please try 6.0.6? I released that early yesterday, but it's not in the approved repositories yet. ..wayne.. [/quote] This solved my problem with 'exceptions.IndexError', thanks! RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - patseguin - 2014-03-23 (2014-03-22, 22:37)LEDFan Wrote: Are you using the latest zip or git file from post #1? Wayne made a fix earlier today (as you can see in the posts just before yours) and it has fixed it for me. Nope but that fixed it! RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - Bazzu85 - 2014-03-23 (2014-03-23, 17:27)thewarm Wrote: Rolled back to 6.04. No script error. me too.. 6.05 say "script error".. i'm using frodo 12.3 RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - bolter - 2014-03-24 WayneD, I am running the following Windows 7, Gotham beta 2, Aeon Nox 4.1.9.6 (latest Git) and TV Show Next Aired 6.0.6 (latest from the git) I now get a message saying TV Next Aired script failed. everything was ok until 1 of 2 things happened - I updated to the latest Git of Aeon Nox and/or TV Next Aired updated itself. Here is my log file - http://pastebin.com/BnCkVzLn I also tried to reset and update (from the script settings) but it fails half way through. Just a mute point - I also had this problem, like a few others running Aeon Nox (with the repo update of TV Next Aired) that's why I downloaded the latest from the Git. Edit: Have rolled back to version 6.0.4 for now and everything is OK. RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - User 55003 - 2014-03-24 Getting script error with the latest TV Show Next Aired from git and gotham beta2. It seems to get stuck on Dad's Army Code: NOTICE: script.tv.show.next.aired: ### getting series & episode info for #76342 - Dad's Army RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - bambi73 - 2014-03-24 Hello Wayne, I think there is bug in way how you construct date format (line 53). Currently it looks like Code: DATE_FORMAT = xbmc.getRegion('dateshort').lower() Why is there lower()? For my region xbmc.getRegion('dateshort') returns %d-%m-%Y but lower function changes it to %d-%m-%y which is quite different (4 digits year vs. 2 digits year). RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - WayneD - 2014-03-24 (2014-03-24, 00:56)bolter Wrote: I also tried to reset and update (from the script settings) but it fails half way through.The show it fails on is Captain Scarlet and the Mysterons, which has shows right near the 1967 unix ordinal cutoff. My prior fix to the dateutil code (for systems that don't like negative time.localtime() values) apparently doesn't handle a date that is right right near the start of the year, but bumped back into the prior year by an offset. I've tweaked the code a bit more to make sure that it can't possibly go negative. Note that the only reason this doesn't affect 6.0.4 is that it does the weeding of the older episodes a little differently than the new code. (2014-03-24, 01:58)Steveb Wrote: It seems to get stuck on Dad's ArmyThis is the same issue. Both are fixed in the latest git and zip files. Thanks for the reports. ..wayne.. RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - User 55003 - 2014-03-24 (2014-03-24, 02:29)WayneD Wrote:(2014-03-24, 00:56)bolter Wrote: I also tried to reset and update (from the script settings) but it fails half way through.The show it fails on is Captain Scarlet and the Mysterons, which has shows right near the 1967 unix ordinal cutoff. My prior fix to the dateutil code (for systems that don't like negative time.localtime() values) apparently doesn't handle a date that is right right near the start of the year, but bumped back into the prior year by an offset. I've tweaked the code a bit more to make sure that it can't possibly go negative. Cheers mate, that did the trick! RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - WayneD - 2014-03-24 (2014-03-24, 02:08)bambi73 Wrote:Yeah, the code was doing that before I got to it. I figure that the prior author(s) liked the brevity in the 2-digit years and decided to force it. I personally use the Next-Aired setting that turns on the nicer dates, which either omits the current year entirely, or uses a 4-digit year for other years. I'm hesitant to change the default format to be different than what it is without some discussion somewhere about it first. I personally would be fine changing it to a 4-digit year, but then I don't ever see it. ..wayne.. RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - bolter - 2014-03-24 (2014-03-24, 02:49)Steveb Wrote:(2014-03-24, 02:29)WayneD Wrote:(2014-03-24, 00:56)bolter Wrote: I also tried to reset and update (from the script settings) but it fails half way through.The show it fails on is Captain Scarlet and the Mysterons, which has shows right near the 1967 unix ordinal cutoff. My prior fix to the dateutil code (for systems that don't like negative time.localtime() values) apparently doesn't handle a date that is right right near the start of the year, but bumped back into the prior year by an offset. I've tweaked the code a bit more to make sure that it can't possibly go negative. All fixed my end. Thanks WayneD |