looking through the code,
few things to address. the included dateutil is from 2014 so not really sure its even doing much these days. could remove and just use included "script.module.dateutil" instead.
now the pulling down of tv data part still works fine (even as http and no www, but adding those future proofs some things)
the first roadblock,
script.tv.show.next.aired: ### ERROR retreiving updates from thetvdb.com: File is not a zip file
is when it does the main update it tries to hit an invalid file:
http://thetvdb.com/api/xxx/updates/updates_day.zip
we can correct this by doing:
https://www.thetvdb.com/api/xxx/updates/updates_day.xml
modify the relevant function to use that url and just parse that data instead of expecting a zip to extract then parse.
script.tv.show.next.aired\resources\lib\thetvdbapi.py
function would become:
python:
def _get_update_info(self, period, filter_func = None, callback = None):
url = "%s/updates/updates_%s.xml" % (self.base_xml_url, period)
return self._get_xml_data(url, filter_func, None, callback)
that stops the script from erroring out.. now it actually pulls down the latest data on demand.
the country.db never generates because country_lookup is busted. but meh, trying to have the script augment timezones with data from tvdb is a crapshoot since you dont really know if the data is in what timezone (just user input) and you have to make assumptions that x station is x timezone first.. which worked somewhat okay back in the day of aired tv.. but with streaming it falls flat. but anyways this 'fixes' it enough to make the script work.. but really this script needs a whole re-write (especially for the impending python3 requirement)