esxbr / plugin.video.stalker

GNU General Public License v2.0
30 stars 33 forks source link

Getting 'NonType' object not callable #2

Open galeamark7 opened 8 years ago

galeamark7 commented 8 years ago

My Iptv Provider Recently changed the channel list. Everything worked perfectly but now when i try to open any section (ex sports), i get 'NonType' object not callable. Your Script successfully gets the tv links as it creates the cached json file, however it fails to display them on screen. Tried to find the error my self but i'm new to python. Also one of the genres, the adult section is not in the list of programs cached. I don't know if it failing when retrieving that section.

galeamark7 commented 8 years ago

in addition sometimes i get error on line 162 column 139

galeamark7 commented 8 years ago

I think I found the error. Some of the Links by my service provider erroneously contain a space at the end of the link. Every time i get an error with a line number (like the one i posted above), it points to the first channel with a space in the end.

Removing those spaces and Tabs from the cached file, allowed the application to continue to work.

random-robbie commented 8 years ago

you would need to really have the addon modified to suit your provider and also provide url and mac for it be debugged as you tend to find the channels are listed in the json but the array key's are named different which will stop this addon from grabbing the correct info.

galeamark7 commented 8 years ago

Hi, i managed to fix issues by slightly modifying your plugin python scripts. Basically I trimmed extra spaces in the urls and changed the encoding of the urls to support russian characters. Sorry I had forgot to add a reply here.