log jam wrote:
> I got epg working on my Syno using the info in the thread I previously linked.
>
> I downloaded both the zap2epg.py and the settings.xml files, and put them in the same place I had the previous zap2xml.pl and zap2xml.sh files.
>
> Read through the thread and make adjustments as necessary to the settings.xml file. Set your zip code, how many days of guide data you want, etc. I followed the instructions step by step and added every channel ID I wanted guide data for in the settings.xml file.
>
> Once I prepared my settings file with the relevant data, I ssh'd into my Synology and ran the following command:
> sudo python /volume1/path to/zap2epg.py
> This will take a while the first time.
>
> I hope this helps you. I FINALLY have a color epg in Kodi now!
>
> Thank you edit4ever!
hi, can you provide more info on how you got it working?
I got both files but it complaints when I run it.
2019/08/05 20:20:35 Kodi settings version is: 2
2019/08/05 20:20:35 Running zap2epg-0.6.3 for zipcode: 95747 and lineup: Local Over the Air Broadcast
2019/08/05 20:20:35 No channel list found - adding all stations!
2019/08/05 20:20:35 Exception: main
Traceback (most recent call last):
File "/zap2epg.py", line 713, in mainRun
tvhMatchGet()
File "/zap2epg.py", line 111, in tvhMatchGet
response = urllib2.urlopen(channels_url)
File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 401: Unauthorized