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)



- Death-Axe - 2011-09-03

Hi guys, Em using dh 10.1, on windows 7 with aeon nox. I had a couple of freeze ups using the repo installer and had to end task. This has buggered up a couple of things, including this addon. Here is the error from the debug:

edit: use pastebin!

In nox there is a tv guide option on the main menu which uses this addon. Now just returns 'script failed'. Halp?


- ronie - 2011-09-03

Death-Axe Wrote:Now just returns 'script failed'. Halp?

please use pastebin for logfiles and always post the complete debug logfile.

from what i can tell you're running the pre-eden version of the addon on xbmc dharma.
that will be a no-go :-)


- Death-Axe - 2011-09-04

http://paste.ubuntu.com/681541/

I am using the one from the repos pal, I don't control what versions they decide to put on there.

Unless you can provide me with an older version; you point is moot.


- Hitcher - 2011-09-04

Death-Axe Wrote:http://paste.ubuntu.com/681541/

I am using the one from the repos pal, I don't control what versions they decide to put on there.

Unless you can provide me with an older version; you point is moot.

Not from the official repo you're not. No

You're using djtoll's repo that has the one for nightly builds only.


- amet - 2011-09-04

Death-Axe Wrote:http://paste.ubuntu.com/681541/

I am using the one from the repos pal, I don't control what versions they decide to put on there.

Unless you can provide me with an older version; you point is moot.

unless you adjust your attitude dont expect to get help here, "pal".

you are using eden-pre version on dharma build, it wont work. if you dont like that, take it up with whoever maintains that repo cos it certainly isnt the official one.


- Death-Axe - 2011-09-04

I deleted the other repo, for some reason under 'all addons' it was the only version on the list. As for attitude, I just give back what the devs on here give to me.

Verision from the xbmc.org repo:
http://paste.ubuntu.com/681823/

Seems to be the same error, guys. What is the module xbmcvfs?


- amet - 2011-09-04

Death-Axe Wrote:I deleted the other repo, for some reason under 'all addons' it was the only version on the list. As for attitude, I just give back what the devs on here give to me.

Verision from the xbmc.org repo:
http://paste.ubuntu.com/681823/

Seems to be the same error, guys. What is the module xbmcvfs?

Again, you are running eden-pre version of the addon on dharma. Xbmcfvs is the module added to Eden-pre pyhon, this script will NOT run under dharma under no circumstances.

You need to manually delete it from your second and install dharma bersion if it exists


EDIT: http://mirrors.xbmc.org/addons/dharma/script.tv.show.next.aired/
Shows that this addon exists for dharma, you need to manually remove the eden version from your addon folder then install from xbmc official repo


- amet - 2011-09-04

Oh, and for the attitude.... I see nothing wrong with any of the answers, they only stated the obvious stuff that someone with your mileage on the forum should have known.


- Death-Axe - 2011-09-04

That is the one the came up when I selected it to install (2.1.2). After uninstalling the "eden-pre version" I manually deleted the settings folder in user data and the addon was gone from the addons folder.

Some how it still installed version 3.0.2 even though I selected 2.1.2 from the offical xbmc repo. Could you tell me where else it could be lurking? And why did it not install the version I selected?

Not sure what you mean by "mileage on the forum". Perhaps you are under the impression that a person that has been signed up some place for a while should be a know it all?


- amet - 2011-09-04

Delete it from packages as well, also remove addons.db

Milege means that with the ammount of posts you have, you should know that c/p a log in forum is a no-go.


- Montellese - 2011-09-06

I didn't read through this whole thread (so maybe this has already been reported) but the script (version 3.0.2) didn't work for me on latest nightly in Aeon Nox so I took a look at the jsonrpc parsing and found the problem. The following lines are wrong in default.py:

Line 269:
PHP Code:
findtvshowname re.search'"label":"(.*?)","'tvshowitem 

Line 272:
PHP Code:
findpath re.search'"file":"(.*?)","'tvshowitem 

Line 275:
PHP Code:
findthumbnail re.search'"thumbnail":"(.*?)","'tvshowitem 

All of these regular expressions assume that there is no space between the ":" and the next double quote (") which is wrong. Furthermore they assume that the double quote from the next property-name follows right after the comma delimiting the different properties which is wrong as well. The second problem can simply be fixed by removing the last double quote in the regex. The first problem can either be fixed by adding a space between : and " (which is not idiot-proof) or by anticipating that there may or may not be a space in between : and " by changing the regex to
Code:
"label":[ ]?"(.*?)",

So in the end the jsonrpc parsing should look like this:
PHP Code:
for tvshowitem in json_response:
            
logtvshowitem )
            
findtvshowname re.search'"label":[ ]?"(.*?)",'tvshowitem )
            if 
findtvshowname:
                
tvshowname = ( findtvshowname.group(1) )
                
findpath re.search'"file":[ ]?"(.*?)",'tvshowitem )
                if 
findpath:
                    
path = (findpath.group(1))
                
findthumbnail re.search'"thumbnail":[ ]?"(.*?)",'tvshowitem )
                if 
findthumbnail:
                    
thumbnail = (findthumbnail.group(1))
                else:
                    
thumbnail ''
                
self.TVlist.append( ( tvshowname paththumbnail ) ) 

Hope this helps you guys to update the Eden-pre version of this addon.


- ronie - 2011-09-06

Montellese Wrote:I didn't read through this whole thread (so maybe this has already been reported).

yup, giftie mentioned it a few weeks ago:
http://forum.xbmc.org/showpost.php?p=862311&postcount=272

the issue will be addressed in the next release :-)


- eddiem - 2011-09-07

Next Aired not displaying, no script error on screen.
XBMCSetup-20110906-5e50c25-master

Pastebin log

Thank You,
Eddie.


- ronie - 2011-09-07

eddiem Wrote:Next Aired not displaying, no script error on screen.
XBMCSetup-20110906-5e50c25-master

Pastebin log

Thank You,
Eddie.

you need to give the script some time,
it's still busy fetching data online.

once it's finished, the info will show up in the skin.


- Eddage - 2011-09-08

For some reason this wont return information for Franklin & Bash?!

It's on the website and I have it named the same ("Franklin & Bash", rather than "Franklin and Bash") but it still wont pull the information.

Has anyone got it to work with this show?