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)



- BigNoid - 2011-09-26 16:51

ronie Wrote:not easily no.
the script was made to present info on upcoming shows, not shows of the past.

i'm willing to look into it, but only by large demand. ;-)

If you alter the script that it runs in myvideonav (I believe this was your plan) there is no reason to exclude the canceled shows right? The tvguide sections can be altered in the skin xml to only show upcoming episodes, so it's only for info in videolibrary.


- `Black - 2011-09-26 19:02

But why include shows which are no longer airing? Seems useless to me.


- BigNoid - 2011-09-26 19:09

`Black Wrote:But why include shows which are no longer airing? Seems useless to me.

I use show status and also show last episode in the videolibrary. To me this script is not just for next episodes, but an extension for the tv show library. It would be great to have a record of canceled shows and the last aired episode.
Then again, I may be abusing this script past it's intention.
Maybe time for me to start learning python and build a script myself (i've been requesting this feature for the past 8 months now Wink )


- `Black - 2011-09-26 19:40

If ronie has finished his script, I take a look at it. Shouldn't be too hard to do. Smile


- francovilar - 2011-09-26 22:38

Big_Noid Wrote:I use show status and also show last episode in the videolibrary. To me this script is not just for next episodes, but an extension for the tv show library. It would be great to have a record of canceled shows and the last aired episode.
Then again, I may be abusing this script past it's intention.
Maybe time for me to start learning python and build a script myself (i've been requesting this feature for the past 8 months now Wink )

I would like to have the feature too.


- BigNoid - 2011-09-27 13:34

`Black Wrote:If ronie has finished his script, I take a look at it. Shouldn't be too hard to do. Smile

That would be most appreciated Smile


- nessus - 2011-09-28 21:08

Big_Noid Wrote:I use show status and also show last episode in the videolibrary. To me this script is not just for next episodes, but an extension for the tv show library. It would be great to have a record of canceled shows and the last aired episode.
Then again, I may be abusing this script past it's intention.
Maybe time for me to start learning python and build a script myself (i've been requesting this feature for the past 8 months now Wink )

+1 for this


- Swifty - 2011-09-28 23:57

Does the script support using mysql for the video database ?
I've got it setup on my system and using XBMC PVR pre-eden (odk48) I just see empty windows as if it doesn't know about my tv shows (they are scanned fine in the library)

Here is a log excerpt from opening the addon;
Code:
22:34:42 T:2755873648   DEBUG: Process - Entering source directory /home/xbmc/.xbmc/addons/script.tv.show.next.aired
22:34:42 T:2755873648   DEBUG: Instantiating addon using automatically obtained id of "script.tv.show.next.aired" dependent on version 2.0 of the xbmc.python api
22:34:42 T:2755873648   DEBUG: ### TV Show - Next Aired starting ...
22:34:42 T:2755873648   DEBUG: ### author: Ppic, Frost, ronie
22:34:42 T:2755873648   DEBUG: ### version: 3.0.3
22:34:42 T:2755873648   DEBUG: {}
22:34:42 T:2755873648   DEBUG: ###db doesn't exist, scanning for data...
22:34:42 T:2755873648    INFO: Loading skin file: DialogProgress.xml
22:34:42 T:2755873648   DEBUG: Load DialogProgress.xml: 5.40ms
22:34:42 T:2755873648   DEBUG: DialogProgress::StartModal called
22:34:42 T:2755873648   DEBUG: ------ Window Init (DialogProgress.xml) ------
22:34:42 T:2755873648   DEBUG: Alloc resources: 0.28ms (0.01 ms skin load)
22:34:42 T:2755873648   DEBUG: ### Load list: no file found! generating canceled.db !
22:34:42 T:2755873648   DEBUG: ['"error":{"code":-32602,"data":{"message":"Too many parameters","method":"VideoLibrary.GetTVShows","stack":{"name":"sort","property":{"name":"method","type":"string"']
22:34:42 T:2755873648   DEBUG: "error":{"code":-32602,"data":{"message":"Too many parameters","method":"VideoLibrary.GetTVShows","stack":{"name":"sort","property":{"name":"method","type":"string"
22:34:42 T:2755873648   DEBUG: []
22:34:42 T:2755873648   DEBUG: error listing
22:34:42 T:2755873648   DEBUG: ###canceled list: []
22:34:42 T:6511168   DEBUG: ------ Window Deinit (DialogProgress.xml) ------
22:34:42 T:2755873648   DEBUG: ### no current show data...
22:34:42 T:2755873648    INFO: Loading skin includes from /home/xbmc/.xbmc/addons/script.tv.show.next.aired/resources/skins/DefaultSkin/720p/includes.xml
22:34:42 T:2755873648    INFO: Error loading includes.xml file (/home/xbmc/.xbmc/addons/script.tv.show.next.aired/resources/skins/DefaultSkin/720p/includes.xml): Failed to open file (row=0, col=0)
22:34:42 T:6511168   DEBUG: ------ Window Init (/home/xbmc/.xbmc/addons/script.tv.show.next.aired/resources/skins/DefaultSkin/720p/DialogNextAired.xml) ------
22:34:42 T:6511168    INFO: Loading skin file: /home/xbmc/.xbmc/addons/script.tv.show.next.aired/resources/skins/DefaultSkin/720p/DialogNextAired.xml
22:34:42 T:6511168   DEBUG: Load /home/xbmc/.xbmc/addons/script.tv.show.next.aired/resources/skins/DefaultSkin/720p/DialogNextAired.xml: 40.97ms
22:34:42 T:6511168   DEBUG: Alloc resources: 66.98ms (41.32 ms skin load)



- ronie - 2011-09-29 00:00

Swifty Wrote:Does the script support using mysql for the video database ?

sure.

the problem your having is that your xbmc build is too old.
wait for the next odk release and all should work just fine.


- Swifty - 2011-09-29 00:13

Great, thanks for the heads up Ronie.

Keep up the good work Smile


Different next aired dates in db and on screen. - eddiem - 2011-09-30 23:30

As title says, Game of Thrones next ep is Apr/15/2012 which is correct in next_aired.db. On screen it is shown as Oct/06/2011.
There may be others but I haven't noticed so far.
Thanks,
Eddie.

http://pastebin.com/pj1pw4PC

Sorry, my fault. I added more lines to "Includes_NextAired.xml" and it
seems to have had unforseen results.
I only changed 3 of the 4 "Property(NextAired.xx", missed "Property(NextAired.47.NextDate".
so kept getting same date. :o


- ronie - 2011-09-30 23:48

eddiem Wrote:As title says, Game of Thrones next ep is Apr/15/2012 which is correct in next_aired.db. On screen it is shown as Oct/06/2011.
There may be others but I haven't noticed so far.
Thanks,
Eddie.

http://pastebin.com/pj1pw4PC

looking at your log:
Quote:22:14:27 T:3324 DEBUG: ### TV Show - Next Aired starting ...
22:14:27 T:3324 DEBUG: ### author: Ppic, Frost, ronie, `Black
22:14:27 T:3324 DEBUG: ### version: 4.0.0

i wouldn't use that if i where you.
it's work in progress, unfinished, untested and un-released.

apart from that, will look into your issue though ;-)


- papampi - 2011-10-03 23:52

I have problem running the script on atv2!
first it did not shows any thing on my atv2 but it works great on my ubuntu !
i tried to disable then remove it with no luck !
then i removed the folder from addons folder and reinstalled it !
now it wont start at all !!!

http://pastebin.com/rEieBUR6

this is the last part of log ! do i have to upload all from start ?


- ronie - 2011-10-04 00:00

papampi Wrote:this is the last part of log !

please post a full Debug Log


- papampi - 2011-10-04 06:56

ronie Wrote:please post a full Debug Log

thanks for quick reply !!!!
here is the full log from start !!!


http://pastebin.com/Q8K4v2ip