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)



- Vrok - 2011-10-30

ronie Wrote:the entire tv guide, no

Actually, I managed to fix everything I asked for by messing with the neon and aeon nox skins (copying includes-tvguide.xml and changing home.xml and some other things)
Here's my TV Show button:
Image


- schumi2004 - 2011-11-01

When running Next Aired 4.1.1 script on a pre-eden build i'm getting an error when scanning library.
note: Same error with version 4.1.2v3

This is my logging:

Quote:15:52:46 T:2760895344 ERROR: Error Type: <type 'exceptions.ValueError'>
15:52:46 T:2760895344 ERROR: Error Contents: '08:00 pm' is not in list
15:52:46 T:2760895344 ERROR: Traceback (most recent call last):
File "/storage/.xbmc/addons/script.tv.show.next.aired/default.py", line 424, in <module>
NextAired()
File "/storage/.xbmc/addons/script.tv.show.next.aired/default.py", line 72, in __init__
self.update_data()
File "/storage/.xbmc/addons/script.tv.show.next.aired/default.py", line 95, in update_data
self.scan_info()
File "/storage/.xbmc/addons/script.tv.show.next.aired/default.py", line 147, in scan_info
self.update_show_datetime( current_show )
File "/storage/.xbmc/addons/script.tv.show.next.aired/default.py", line 241, in update_show_datetime
index = self.days.index(day)
ValueError: '08:00 pm' is not in list



- ronie - 2011-11-01

schumi2004 Wrote:When running Next Aired 4.1.1 script on a pre-eden build i'm getting an error when scanning library.
note: Same error with version 4.1.2v3

This is my logging:

hmmm....might be a bug in the script...
could you please post a full Debug Log on pastebin?


- `Black - 2011-11-02

Quick guess... one show has no airday but only airtime info, so day is '08:00 pm' which is of course not in the day list. Hence the error... I'll look further into it tomorrow.


- schumi2004 - 2011-11-02

ronie Wrote:hmmm....might be a bug in the script...
could you please post a full Debug Log on pastebin?

As requested

http://pastebin.com/NisxGHFa

`Black's theory does make sense and sounds logic.

If more info is needed just shout.


- papampi - 2011-11-02

i have the same problem as schumi

Code:
File "/home/payam/.xbmc/addons/script.tv.show.next.aired/default.py", line 424, in <module>
  NextAired()
  File "/home/payam/.xbmc/addons/script.tv.show.next.aired/default.py", line 72, in __init__
  self.update_data()
  File "/home/payam/.xbmc/addons/script.tv.show.next.aired/default.py", line 95, in update_data
  self.scan_info()
  File "/home/payam/.xbmc/addons/script.tv.show.next.aired/default.py", line 147, in scan_info
  self.update_show_datetime( current_show )
  File "/home/payam/.xbmc/addons/script.tv.show.next.aired/default.py", line 241, in update_show_datetime
  index = self.days.index(day)
  ValueError: '08:00 pm' is not in list

i think its best to force the script to skip the errors instead of quiting the script !


- `Black - 2011-11-02

Please try script.tv.show.next.aired-4.1.3.zip.


- papampi - 2011-11-02

`Black Wrote:Please try script.tv.show.next.aired-4.1.3.zip.

it said addons can not install beacause the file has not the correct data structure !


- `Black - 2011-11-02

Unzip it and replace manually. XBMC still has problems with .zip files from OS X.


- papampi - 2011-11-02

Seems like its working !
Thanks

but there is a bunch of errors in log and it seems they are on ended shows !
have a look :
http://pastebin.com/hbjUVTRu


- Martijn - 2011-11-02

`Black Wrote:Unzip it and replace manually. XBMC still has problems with .zip files from OS X.

See files in the zip where not in a folder named 'script.tv.show.next.aired' so that why it was wrong structured


- `Black - 2011-11-03

Yes that's true but even if it's correct it would not work when zipped from OS X unless it's fixed by now.

@papampi
Those errors look like a python problem to me but I'm not sure.


- schumi2004 - 2011-11-03

`Black Wrote:Yes that's true but even if it's correct it would not work when zipped from OS X unless it's fixed by now.

@papampi
Those errors look like a python problem to me but I'm not sure.

Can't update manual here since in OpenElec addon location is write protected.

I'll wait for a proper zip Wink

:update:
My bad, seems there still was a corrupt file located in scripts folder.

Anyway, when scanning error is gone and script seems to work here.

Thanks.


- ErlendSB - 2011-11-04

Thanks for the weekly calendar.
I'm using it daily.

One wish though:
I like the way the calendar skin is laid out, but I think the logos are a bit too small in contrast with the dates and time (which could be disabled maybe). In Aeon MQ3 it looks like this:

Image


- Martijn - 2011-11-05

@ronie

My log is filled with errors from the script.
Quote:IOError: [Errno socket error] timed out

http://pastebin.com/U0u6tFc7

Also very often when i try to open the tvguide it starts to download and takes forever. Also cancelling the script takes some time. Maybe add a cancel detection somewhere in the while loop.