XBMC Community Forum
[RELEASE] TV Show Next Aired (Script) Addon - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] TV Show Next Aired (Script) Addon (/showthread.php?tid=79493)



- Malexx - 2011-02-02 21:47

hi,
i have the problem that i dont get infos for all my Shows in Library.
I checked they are omn TVrage.
Example Spartacus Blood and Sands,Rookie Blue and some others.

What can i do?Delete the entrys and rescan?

Does the Libraray Names need to be exactly the same like on TVRage?
If so how i name for example Spartacus: Blood and Sand since i cant make : on Windows system?


- Harro - 2011-02-02 21:57

Malexx Wrote:If so how i name for example Spartacus: Blood and Sand since i cant make : on Windows system?

Try this

Spartacus - Blood and Sand


That works for me.


- Malexx - 2011-02-02 22:33

i looked into db and for Rookie Blue there is this entry.
In my Libraray i have Season1 Episode 1-5

Code:
Returning Series', 'ep_img': 'E:\\HD Serien\\Rookie Blue\\folder.jpg', 'Genres': 'Action | Crime | Drama', 'Network': 'Global (Canada)', 'Classification': 'Scripted', 'Started': 'Jun/24/2010', 'Show Name': 'Rookie Blue', 'Show URL': 'http://www.tvrage.com/Rookie_Blue', 'Premiered': '2010', 'Airtime': 'Thursday at 09:00 pm', 'Ended': 'Sep/09/2010', 'Country': 'Canada', 'Show ID': '22464', 'path': 'E:\\HD Serien\\Rookie Blue\\', 'localname': 'Rookie Blue', 'Runtime': '60', 'Latest Episode': '01x13^Takedown^Sep/09/2010'}

For Spartacus same i have until season1 episode 7
Code:
{'Status': 'Returning Series', 'ep_img': 'E:\\HD Serien\\Spartacus Blood and Sand\\folder.jpg', 'Genres': 'Action | Drama', 'Network': 'Starz', 'Classification': 'Scripted', 'Started': 'Jan/22/2010', 'Show Name':: 'Spartacus: Blood and Sand', 'Show URL': 'http://www.tvrage.com/Spartacus-Blood_and_Sand', 'Premiered': '2010', 'Airtime': 'Friday at 10:00 pm', 'Ended': '', 'Country': 'USA', 'Show ID': '21885', 'path': 'E:\\HD Serien\\Spartacus Blood and Sand\\', 'localname': 'Spartacus Blood And Sand', 'Runtime': '60', 'Latest Episode': '01x13^Kill Them All^Apr/16/2010'}

why no info about next episode?

And there are more Shows like Stargate Universe,My Name is earl etc ...


- Harro - 2011-02-02 23:03

If all your tv naming is correct. The next aired will scan your library and pick up the current shows according to the scaper ( TVRAGE.com) and post the next aired date.

So Spartacus Blood and sand is no longer airing so next aired will not show that series.

For Stargate Universe the next aired dates have not been released yet according to tvrage.com

Hope that helps


- Malexx - 2011-02-03 01:24

ok i understand,thanks


- rtwight - 2011-02-07 23:04

Anyone else having issues with this script?

Here is the error i get in my debug log
15:59:03 T:3536 M:1932288000 NOTICE: ### TV-Show Next-Aired starting ...
15:59:03 T:3536 M:1932288000 NOTICE: ### author: Ppic, Frost
15:59:03 T:3536 M:1932288000 NOTICE: ### URL: http://code.google.com/p/passion-xbmc/
15:59:03 T:3536 M:1932288000 NOTICE: ### credits: Team Passion-XBMC, http://passion-xbmc.org/
15:59:03 T:3536 M:1932288000 NOTICE: ### date: 17-10-2010
15:59:03 T:3536 M:1932288000 NOTICE: ### version: 2.1.2
15:59:03 T:3536 M:1932288000 NOTICE: {}
15:59:03 T:3536 M:1932288000 NOTICE: ###db old more than 24h, rescanning...
15:59:03 T:3536 M:1932288000 INFO: Loading skin file: DialogProgress.xml
15:59:03 T:3536 M:1932283904 DEBUG: ------ Window Init (DialogProgress.xml) ------
15:59:03 T:3536 M:1932283904 NOTICE: ### Load list: C:\Users\rob\AppData\Roaming\XBMC\userdata\addon_data\script.tv.show.next.aired\​canceled.db
15:59:03 T:3536 M:1932283904 NOTICE: Traceback (most recent call last):
15:59:03 T:3536 M:1932283904 NOTICE: File "C:\Users\rob\AppData\Roaming\XBMC\addons\script.tv.show.next.aired\default.py", line 250, in load_file
15:59:03 T:3536 M:1932283904 NOTICE: return eval( file( file_path, "r" ).read() )
15:59:03 T:3536 M:1932283904 NOTICE: File "<string>", line 0
15:59:03 T:3536 M:1932283904 NOTICE: ^
15:59:03 T:3536 M:1932283904 NOTICE: SyntaxError: unexpected EOF while parsing
15:59:03 T:3536 M:1932283904 INFO: -->Python script returned the following error<--
15:59:03 T:3536 M:1932283904 ERROR: Error Type: exceptions.NameError
15:59:03 T:3536 M:1932283904 ERROR: Error Contents: global name 'temp' is not defined
15:59:03 T:3536 M:1932283904 ERROR: Traceback (most recent call last):
File "C:\Users\rob\AppData\Roaming\XBMC\addons\script.tv.show.next.aired\default.py", line 287, in ?
NextAired()
File "C:\Users\rob\AppData\Roaming\XBMC\addons\script.tv.show.next.aired\default.py", line 68, in __init__
self.scan_info()
File "C:\Users\rob\AppData\Roaming\XBMC\addons\script.tv.show.next.aired\default.py", line 193, in scan_info
self.canceled = self.get_list("canceled.db")
File "C:\Users\rob\AppData\Roaming\XBMC\addons\script.tv.show.next.aired\default.py", line 243, in get_list
return self.load_file(path)
File "C:\Users\rob\AppData\Roaming\XBMC\addons\script.tv.show.next.aired\default.py", line 253, in load_file
print "### ERROR impossible de charger le fichier %s" % temp
NameError: global name 'temp' is not defined
15:59:03 T:3536 M:1932283904 INFO: -->End of Python script error report<--
15:59:0

I've tried uninstalling and reinstalling and differen skins but same issue Sad


- rtwight - 2011-02-09 18:29

fixed the issue by deleting the 2 database files in the addons data directory and the script rebuilt them.

Guess when you uninstall the script it doesn't delete the database files Smile


- Big_Noid - 2011-02-12 17:18

Since it's possible to push data to the skin, it might be useful to make it optional to scrape canceled/ended shows and add end date of the final episode.
(Yeah I know the script is called NEXT aired Big Grin)
I am coding it to be in default TV show view, so now for ended series it looks bad to see no info.


- ppic - 2011-02-13 14:53

if you go that way, you'll need to make stringcompare on all of your show, for number of show you have, won't be good, i'll make another way for that kind of things.


- nessus - 2011-03-18 14:27

Big_Noid Wrote:Since it's possible to push data to the skin, it might be useful to make it optional to scrape canceled/ended shows and add end date of the final episode.
(Yeah I know the script is called NEXT aired Big Grin)
I am coding it to be in default TV show view, so now for ended series it looks bad to see no info.

Did you manage to do that ?

I am also integrating the script to one view in the Xperience and i was looking how to manage to get those info ?.

ppic.... i am using the "Status" switch (NextAired.1.Status) but i get nothing for the canceled/ended TV Shows. Is that normal or i am doing something wrong ?.

Cheers
Nessus