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)



- bigbear77 - 2011-01-19 14:24

heres what i get in my aoen nox trials:
13:21:45 T:4464 M:1797124096 NOTICE: -->Python Interpreter Initialized<--
13:21:45 T:4464 M:1796669440 NOTICE: ### TV-Show Next-Aired starting ...
13:21:45 T:4464 M:1796669440 NOTICE: ### author: Ppic, Frost
13:21:45 T:4464 M:1796669440 NOTICE: ### URL: http://code.google.com/p/passion-xbmc/
13:21:45 T:4464 M:1796669440 NOTICE: ### credits: Team Passion-XBMC, http://passion-xbmc.org/
13:21:45 T:4464 M:1796665344 NOTICE: ### date: 17-10-2010
13:21:45 T:4464 M:1796665344 NOTICE: ### version: 2.1.2
13:21:45 T:4464 M:1796665344 NOTICE: {}
13:21:45 T:4464 M:1796665344 NOTICE: ###db less than 24, fetch local data...
13:21:45 T:4464 M:1796665344 NOTICE: ### Load list: C:\Users\flo.jaeger1networks\AppData\Roaming\XBMC\userdata\addon_data\script.tv.​show.next.aired\next_aired.db
13:21:45 T:4464 M:1796661248 NOTICE: ###data available
13:21:45 T:4464 M:1796661248 NOTICE: ### next list: 0 shows ### []
13:21:45 T:4464 M:1796661248 NOTICE: 2011-01-19
13:21:45 T:4464 M:1796661248 NOTICE: ###today show: 0 -
13:21:48 T:4356 M:1792294912 ERROR: CLocalizeStrings::ClearBlock: Trying to clear non existent block C:\Users\flo.jaeger1networks\AppData\Roaming\XBMC\addons\script.tv.show.next.air​ed

that happens when i include the code from odt_x and also when i open the next aired window via custom program. When i delete the 2 db-files and start xbmc again, it works. but only this one time.
at the next start. same error messages Sad


- ppic - 2011-01-19 17:09

bigbear77:there's no error there...


- ppic - 2011-01-19 17:10

bigbear77 Wrote:its only a problem if i just happen to watch a movie at exact that time Smile

can i disable the auto-update every 24 hours? and change it to "every time computer XBMC is started / resumed from standby"?

Or would the script update itself if i went to the next aired window in the shade skin? Than i could disable (where would i find it?) the auto update and when i wanna know when episodes air i just go in the next aired window.

One other thin as long as ive got you Smile Im playing around with the aeon nox skin which has no next aired support on its own. i made a custom program button displaying the next aired window, but its empty. do i have to do anything more?

thanks for your fast reply and help! much appreciated

you can remove the alarm parameter in the xml that launch the script.

the list may be empty, if there no data for your show.


- bigbear77 - 2011-01-19 19:00

thanks ppic. changed skin to aeon nox so no alarm there (as far as i know). i played around a bit more and now i also get the information refreshed in the nox skin (starting next aired via the custom program shortcut).

Dont really know why it wouldnt work before, but its running now and thats what counts!


- odt_x - 2011-01-24 12:57

I seem to be having an issue that the DB is not refreshing itself. So even if the date has changed to Jan/24 it still shows Next Episode: Jan/23.

So in the log I see stuff like:

Code:
(2009)', 'Runtime': '60', 'Latest Episode': '02x03^Laid Bare^Jan/18/2011'}]
10:14:33 T:2940 M:2611666944  NOTICE: 2011-01-24
10:14:33 T:2940 M:2611666944  NOTICE: ################
10:14:33 T:2940 M:2611666944  NOTICE: ###American Dad!
10:14:33 T:2940 M:2611666944  NOTICE: ###06x10^Stanny Boy and Frantastic^Jan/23/2011
10:14:33 T:2940 M:2611666944  NOTICE: ###2011-01-23T19:30:00-5:00
10:14:33 T:2940 M:2611666944  NOTICE: 2011-01-23
10:14:33 T:2940 M:2611666944  NOTICE: ################
10:14:33 T:2940 M:2611666944  NOTICE: ###The Simpsons
10:14:33 T:2940 M:2611666944  NOTICE: ###22x12^Homer The Father^Jan/23/2011
10:14:33 T:2940 M:2611666944  NOTICE: ###2011-01-23T20:00:00-5:00
10:14:33 T:2940 M:2611666944  NOTICE: 2011-01-23


It will update fine after i remove the addons_data\script.tv.show.next.aired\next_aired.db and re-launch xbmc.


- ppic - 2011-01-24 16:01

24h cache.


- odt_x - 2011-01-24 19:31

ppic Wrote:24h cache.

After reading some previous posts after posting this I figured that much. Would be cool if the cache would be discarded on next date, not by the hour count. Just an idea Wink


- ppic - 2011-01-24 19:38

no, it won't i don't want to rescrap each time a show is diffused, your seeing this on your side, but my view is also server side, and i don't want to bomb the site that provide me the information.


- odt_x - 2011-01-25 11:10

ppic Wrote:no, it won't i don't want to rescrap each time a show is diffused, your seeing this on your side, but my view is also server side, and i don't want to bomb the site that provide me the information.

OK, so the scanning is always for all shows, not the ones with next episode in the past?


- ppic - 2011-01-25 13:29

yes, it's a one time work.