Perfect! Thank you SO much.
tvheadend, ATSC and epg...
-
edit4ever -
June 4, 2016 at 5:36 PM -
Thread is Unresolved
-
-
I'm having issues with the epg and zap2epg. I finally got the zap2epg running and mapped it back to the channels after discovering that zap2xml was broken and my epg was empty. However, now when I click on a show in the TVHeadend EPG and click record series, every single show in the EPG is selected to record. I mean everything. The only work around I've figured out is to create a manual recurring autorecord entry.
I'm running a RPi3 with LE 8.0.2, TVH 4.2.2-32 with Zap2EPG 0.3.0
-
That sounds like a tvheadend issue - not a guide issue. However, please update to version 0.4.0 of zap2epg to eliminate any issues from old code.
-
Sorry folks - 0.4.0 was missing the genre settings stuff - fixed and updated the release 0.4.1
Releases · edit4ever/script.module.zap2epg · GitHub
Thanks!
-
OK - I've figured out a way to create the OTA subchannel number (that is missing from the current data source) and append it to the xmltv data. I'm going to include this as an option in the next release. I also have added a function to match channel numbers in tvh and pull the service names and add those into the xmltv file. This allows tvheadend to automatically map the epg source for each channel (that has a match) eliminating another step in the setup process. This is currently a function for OTA lineups only as I don't have a way to test and build cable channels (and they probably name match already).
Both of these features don't necessarily help users that have already manually setup their system - but should be very beneficial to new users.
Before I update this release - are there any other functions that anyone would like to see? I think I am ready to more broadly publish after this.
Thanks again for all who have provided feedback! I'm one step closer to building an affordable and simple to install DVR setup. My next step will be to combine my different addons and create a simple DVR setup wizard that will install/enable the necessary addons, scan channels and add lineup & epg data.
-
Everything is working great for me right now. Thanks for ALL your efforts.
-
Thanks again for all who have provided feedback! I'm one step closer to building an affordable and simple to install DVR setup. My next step will be to combine my different addons and create a simple DVR setup wizard that will install/enable the necessary addons, scan channels and add lineup & epg data.
Sounds promising! I'll continue to check your work! Nice stuff! Thanks for your work!
-
New update! This version adds a function/option to get the channels from tvheadend and append the subchannel number and service name to the xmltv file. For new setups, this should create an automated matching/setup of the epg source in tvheadend for the OTA (broadcast/antenna) lineups. This function/option is ignored for cable lineups.
Here you go and thank you for testing!
Releases · edit4ever/script.module.zap2epg · GitHub
--- update note: I updated the github release to 0.5.1 - this added a cleanup in the xtra details downloads that should speed up errors due to failed downloads. If you happened to have grabbed the 0.5.0 release before I updated to 0.5.1, you can just redownload and update. Please note that the release will still say 0.5.0 in kodi.
-
Update 0.5.2 - contains a fix for channel names that have an ampersand.
Releases · edit4ever/script.module.zap2epg · GitHub
Thanks!
-
Thank you for your work on this addon. I confess I've just discovered it! I am trying to get v0.5.2 to work on LE 8.2.1. When I "Run zap2epg and Update Guide Data" from the LE addon page I get an error and the log is below:
Quote2017/11/25 13:45:52 Running zap2epg for zipcode: 53406 and lineup: Local Over the Air Broadcast
2017/11/25 13:45:52 Exception: main
Traceback (most recent call last):
File "/storage/.kodi/addons/script.module.zap2epg/zap2epg.py", line 679, in mainRun
tvhMatchGet()
File "/storage/.kodi/addons/script.module.zap2epg/zap2epg.py", line 96, in tvhMatchGet
response = urllib2.urlopen(channels_url)
File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
File "/usr/lib/python2.7/urllib2.py", line 435, in open
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
File "/usr/lib/python2.7/urllib2.py", line 473, in error
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
HTTPError: HTTP Error 401: Unauthorized
Any help in what I am doing wrong is greatly appreciated!
-
It doesn't look like you're doing anything wrong based in that log. I won't be able to check the system until tonight...but you can check to see if you can access
TV Listings- Find Local TV Listings and Watch Full Episodes - Zap2it.com
from a browser.
-
Thank you. Yes, I am able to access that site and my local TV listings in a browser. I also verified I can access other online streams to eliminate the possibility it is the internet connection. I still get the same error.
Many thanks though. I'm moving my TvHeadEnd server from a Linux box (being retired after 12 years) to a LE box. So I'm somewhat familiar with TvH. I feel I'm just one step away from solving this!
Thanks! -
ScotyBro - If I'm right, you have a username/password setup on your tvheadend system and for some reason it is not reading that info from the tvh client (maybe you don't have it installed on this system). You can manually enter that info in the zap2epg addon settings.
My code should deal with that - but I think I missed something. Please try entering your user/pass for tvh and see if zap2epg runs.
In the meantime, I'll check the error in my code. Thanks!
-
My mistake! I forgot to push the finished tvheadend code. ooops!
Here's the updated 0.5.3 release with support for tvh username-password!
Releases · edit4ever/script.module.zap2epg · GitHub
ScotyBro Please let me know if it works!
-
Yes! That worked perfectly. I'll confess I'm on my way out the door for a long week away so I can't test it too much but it generated a xmltv file and TvH sees it fine.
Prior to this, I did use a username and password for zap2xml.pl. I did not see anywhere in your script to enter this info, but in the latest version, it didn't matter and ran just fine.
Again, I sincerely appreciate your efforts into this script. You made something incredibly complicated seem a little easier!
ScottETA - Yes, a user/pass on TvH as well. I was reading too fast. Yes, I created a user just for this but perhaps I didn't have to?
-
you don't have to have a user in tvh - but it doesn't hurt either. Glad to hear it worked out for you!
Safe travels.
-
My guide data has run out. The last time the xml file was written was on the 19th. See log thx for helpzap2epg.log just updated to 0.5.3, got a tvheadend user and pass error before updating when entering the addon settings.
-
If 0.5.3 is not working for you...turn off the setting for tvh match and try to run again. Then if it still fails, please post an updated log.
Thanks!
-