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)



- ronie - 2011-07-29

Machine-Sanctum Wrote:Here you go.
http://pastebin.com/QQn2iN3m

Maybe off-topic but the source code for this is on googlecode or also on github?

you're using the dharma version of the script.

i've posted the eden one here:
http://forum.xbmc.org/showpost.php?p=845073&postcount=245
so if you could test again with that one.

source code for it is on my googlecode page:
http://code.google.com/p/ronie/source/browse/


- ronie - 2011-07-29

Machine-Sanctum Wrote:folder.jpg is there. They also show fine in TV Serie library.
Found this is my error log:
Code:
23:38:36 T:452 M:4294967295   DEBUG: CTextureCache::GetImageHash - unable to stat url smb://MACHINE-SANCTUM/Media3/TV Series/Futurama/poster.jpg
23:38:36 T:5956 M:4294967295  NOTICE: ### parse informations
23:38:36 T:5956 M:4294967295  NOTICE: {'Status': 'Returning Series', 'ep_img': 'smb://MACHINE-SANCTUM/Media3/TV Series/Dexter/folder.jpg', 'RFC3339': '2011-10-02T21:00:00-4:00', 'GMT+0 NODST': '1317596400', 'Network': 'Showtime', 'Classification': 'Scripted', 'Started': 'Oct/01/2006', 'Show Name': 'Dexter', 'Show URL': 'http://www.tvrage.com/Dexter', 'Genres': 'Crime | Drama', 'Premiered': '2006', 'Airtime': 'Sunday at 09:00 pm', 'Ended': '', 'Country': 'USA', 'Show ID': '7926', 'path': 'smb://MACHINE-SANCTUM/Media3/TV Series/Dexter/', 'Next Episode': '06x01^Those Kinds of Things^Oct/02/2011', 'localname': 'Dexter', 'Runtime': '60', 'Latest Episode': '05x12^The Big One^Dec/12/2010'}

about the error, i think the skin you're using, is trying to load
logo.png images on the TV Guide.

that's probably why you don't get any images on that page.


- Martijn - 2011-07-29

ronie Wrote:about the error, i think the skin you're using, is trying to load
logo.png images on the TV Guide.

that's probably why you don't get any images on that page.

Also tried with confluence however it didn't work either.


- ronie - 2011-07-29

Machine-Sanctum Wrote:Also tried with confluence however it didn't work either.

i'll see if i can make it use the cached thumb
instead of assuming the user has a locally stored thumb.


- Martijn - 2011-07-29

ronie Wrote:i'll see if i can make it use the cached thumb
instead of assuming the user has a locally stored thumb.

I do have mine locally stored so i don't think they're will be cashed ones.

Also tv logo downloader does not download anything.

i don't have logo.png though. only "folder.jpg""fanart.jpg" so it's strange that he doens't find new ones. Maybe debug log of logo downloader would help?
I'll try it on a fresh install in VMware if work then.
Let you know the results


- Martijn - 2011-07-29

Machine-Sanctum Wrote:I do have mine locally stored so i don't think they're will be cashed ones.

Also tv logo downloader does not download anything.

i don't have logo.png though. only "folder.jpg""fanart.jpg" so it's strange that he doens't find new ones. Maybe debug log of logo downloader would help?
I'll try it on a fresh install in VMware if work then.
Let you know the results

Fixed by installing logo-downloader pre-eden 3.0.0


- Rygrath - 2011-07-29

Was going to post about a script failed error, then realized at the last second the 3.0 pre-eden script was overwritten by the 2.1.2 version somehow. If a mod could be kind enough to delete this post, that'd be great.


- BigNoid - 2011-07-29

@ronie: great job with fixing the next aired and logo downloader script for eden-pre. Works as expected and it fixed my xbmc locking up on startup when running the next aired script in startup.xml. No more reason now to stay on dharma release Nod
Hope these get added to the repo soon.


- Martijn - 2011-07-29

Big_Noid Wrote:@ronie: great job with fixing the next aired and logo downloader script for eden-pre. Works as expected and it fixed my xbmc locking up on startup when running the next aired script in startup.xml. No more reason now to stay on dharma release Nod
Hope these get added to the repo soon.

Aaah glad to know there also Next Aired update. Installing in progress Cool


- rubenvd - 2011-07-31

ronie Wrote:i'll see if i can make it use the cached thumb
instead of assuming the user has a locally stored thumb.

I also encounter this issue as I have remote media storage:

In default.py I changed

Code:
current_show["ep_img"] = os.path.join( current_show["path"] , "folder.jpg" )

into

Code:
thumbname = xbmc.getCacheThumbName(current_show["path"])
        current_show["ep_img"] = "special://thumbnails/Video/%s/%s" %(thumbname[0],thumbname)
which seems to work for ConfluenceLaugh, but not for Neon (probably uses it's own lookup method, but I haven't investigated yetHuh)


- samzstein - 2011-08-01

i recently removed a show from my library but the next aired script is still referencing it, how can i fix this?


- ronie - 2011-08-01

samzstein Wrote:i recently removed a show from my library but the next aired script is still referencing it, how can i fix this?

the script caches the info for 24 hours, so it doesn't have to fetch all the info again when running the script for a second time.

so just wait a day :-)


- ronie - 2011-08-08

a pre-eden version is now available in the addon repo for nightly-build users.

cheers to all for testing :-)


- Hitcher - 2011-08-08

ronie Wrote:a pre-eden version is now available in the addon repo for nightly-build users.

cheers to all for testing :-)

Would you believe it!

I've literally just removed this from XeeBo's requirements to stop 'dependencies not met' messages. Rolleyes

Thanks anyway ronie.


- ronie - 2011-08-08

next time i'll consult you in advance ;-)

i promise!