Kodi Community Forum
[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)



- xerxes - 2011-12-03

ronie Wrote:full debug logs only please.

Sorry about the delay... here's the full debug log: http://pastebin.com/f75b5EAP

Thanks for the work on a great script!


- ronie - 2011-12-03

xerxes Wrote:Sorry about the delay... here's the full debug log: http://pastebin.com/f75b5EAP

Thanks for the work on a great script!

cheers!

it's crashing on tom + jerry

guess we have to go back to the drawing board...

the python mktime() function can't handle dates before the epoch.
to make it even more complex, epoch definitions are platform depended.


@ `Black: can't we just split the date into three fields ('mm', 'dd', 'yy') and rearrange the order according to the users locale
instead of converting and recalculating them ?


- sergiocos - 2011-12-03

regarding my early bug report, the error was on my side, messing with short date format... after undo+rebuild next aired dbs, everything works as it should. Still one question, thou: string for show status can be localized somehow? ('Canceled/Ended' etc...)


- ronie - 2011-12-03

sergiocos Wrote:regarding my early bug report, the error was on my side, messing with short date format... after undo+rebuild next aired dbs, everything works as it should. Still one question, thou: string for show status can be localized somehow? ('Canceled/Ended' etc...)

we would need a complete list of all possible statuses on tvrage.com (there shouldn't be that much)
and then we would have to depend on you all to come up with translations for every language.


- xerxes - 2011-12-03

ronie Wrote:cheers!

it's crashing on tom + jerry

guess we have to go back to the drawing board...

the python mktime() function can't handle dates before the epoch.
to make it even more complex, epoch definitions are platform depended.


@ `Black: can't we just split the date into three fields ('mm', 'dd', 'yy') and rearrange the order according to the users locale
instead of converting and recalculating them ?

Cool, glad to know you were able to figure out what was causing the error. Is there any way to get v4.1.6 again for the time being?


- ronie - 2011-12-03

xerxes Wrote:Cool, glad to know you were able to figure out what was causing the error. Is there any way to get v4.1.6 again for the time being?

there should be a 'rollback' option in the addon browser.


- xerxes - 2011-12-03

ronie Wrote:there should be a 'rollback' option in the addon browser.

Yeah, I was aware of that, but unfortunately I deleted my old portable_data folder when I upgraded to the latest pre-eden nightly build.

No worries though, I'll just wait for the next update.

Thanks again!


- `Black - 2011-12-03

Problem is fixed in v4.1.11, see svn or wait for repo update. Smile


- ronie - 2011-12-04

`Black Wrote:Problem is fixed in v4.1.11, see svn or wait for repo update. Smile

v4.1.12 is in the addon repo now:

changelog:
Quote:v4.1.12
- use artwork downloader instead of logo downloader

v4.1.11
- fixed error if latest date is before 1970



Next Aired doesn't show up in Add-Ons list (XBMC git nightly build) - morsedl - 2011-12-04

Hi,

Next Aired disappeared from my list of add-ons a couple months back, but I figured it was because I was using xbmc nightly builds and that it would come back eventually. Occasionally I would think that I saw Next Aired update to a newer version, and I'd check, but it still would not show up in either my enabled add-ons or under "Get Add-Ons..."

Today, I saw Next Aired update for certain, but I still could not see it in my list of enabled or available add-ons, so I decided to investigate further.

I stumbled across Settings -> System -> Add-Ons and saw that I could search for add-ons there. I searched for Next Aired, found it, and it showed up as already installed. So I ran "Rescan tv guide database", which worked, and then I was taken to a working Next Aired Add-on screen, much nicer than the previous one I had had working (i.e., grid layout by weekday) and it worked great.

BUT, when I went back to the home screen -> Videos -> Add-Ons, it was still not listed there, nor was it under "Get Add-Ons".

Very odd, as the script appeared to work fine from the system settings screen...

I have the latest version (presently 4.1.12) and the latest nightly build of xbmc (2:11.0~git20111129.b67a2a4).

A copy of a full-debug xbmc.log can be found here:

http://pastebin.com/xExZja8k

I see in that log file that Next Aired is installed OK, but then later in the log it is uninstalled, and shortly before that I see the following lines:

03:59:51 T:140256609658816 DEBUG: ADDON: Stopping service addons.
03:59:51 T:140256609658816 INFO: Stopping script with id: 1
03:59:51 T:140256609658816 NOTICE: stop python
03:59:51 T:140256609658816 DEBUG: waiting for python thread 1 to stop
03:59:51 T:140256288519936 INFO: Scriptresult: Success
03:59:51 T:140256288519936 INFO: Python script interrupted by user
03:59:51 T:140256288519936 DEBUG: Thread XBPyThread 140256288519936 terminating
03:59:51 T:140256609658816 DEBUG: python thread 1 destructed
03:59:51 T:140256609658816 NOTICE: stopped
03:59:51 T:140256609658816 NOTICE: destroy

Clearly, if python stops and/or addon service stops, Next Aired won't work. But not all of my addons become unavailable.

It occurs to me now that this might then not just be a Next Aired issue, but if someone could point me in the right direction, I'd be most grateful. Next Aired is the only add-on that ever used that much, and not having it for a couple months makes me sad. Smile

Thanks for a great add-on!

Doug


- `Black - 2011-12-04

Next Aired is under program addons.


script failed - umOuch - 2011-12-07

Any one suddenly start seeing script fail today?


- statious - 2011-12-09

I have not been able to get it working since I upgraded to EDEN. It runs and I can see the name of the show but I have no artwork showing and on some skins I cannot access anything. Not certain. I have reinstalled the skin, deleted all of the prior packages and even did a fresh install. No idea what is going on, but I figure it will work itself out.


- morsedl - 2011-12-10

`Black Wrote:Next Aired is under program addons.

Well, don't I feel stupid. Blush Thanks 'Black!


Daily shows all showing same date? - morsedl - 2011-12-10

Hi,

I'm noticing something strange with the latest Next Aired (4.1.12): The dates for daily shows (e.g., the Daily Show, the Colbert Report) are all showing up with the same date, even though they are correctly shown on separate days of the week. For example, for the upcoming week in Next Aired ("now" is Dec. 10, 2AM, CST), both these shows are showing dates of 12/12/11 (i.e., Monday) even though the shows are on 12/12/11, 13/12/11, 14/12/11, and 15/12/11.

Not a big deal, but thought I'd mention it. Big Grin

Here's a screenshot URL ( http://i40.tinypic.com/1071k7n.png ):

Image

Thanks,
Doug