speaking of user/pass for TvH. Does any one else have this issue when login into Tvh Web interface. It will ask for the user/pass multiple times before allowing me access. I wonder if that is whats going on here with the addon.
![](https://forum.libreelec.tv/core/images/avatars/91/1385-91d3441ef56ae95c1385f82e6c7e598f176c44be.png)
tvheadend, ATSC and epg...
-
edit4ever -
June 4, 2016 at 5:36 PM -
Thread is Unresolved
-
-
speaking of user/pass for TvH. Does any one else have this issue when login into Tvh Web interface. It will ask for the user/pass multiple times before allowing me access. I wonder if that is whats going on here with the addon.
Yes, I did have this. I think, you need to create a user, with the same username & password configured in the server. But, to be honest, I'm not sure.
-
Favorite new place to write code!
I am jealous........ Have a great time!!
-
cabbresson - I was just doing some username/password testing with tvh and noticed a similar issue with multiple logins needed. Seemed ot happen when I had multiple accounts with the same rights access. Not sure why this would be - but may be causing the issue.
One way to check is to enter the following url into chrome:
USERNAME:[email protected]:9981/api/status/connections
You should get a json response with the connection status. A popup for signing in should not appear. (Note - you need to use chrome for the test as firefox and IE always have a popup. They don't seem to know how to handle the username/password combo in the url - which is weird.
Let me know if you get a clean response for this. If so, it will help me focus on where your issue is.
-
You should get a json response with the connection status. A popup for signing in should not appear.
I did NOT get the sign in popup. What I got is below.
Code{"entries":[{"id":36,"server":"192.168.1.191","server_port":9982,"peer":"192.168.1.144","peer_port":40216,"started":1512525217,"type":"HTSP","user":"admin"},{"id":1,"server":"127.0.0.1","server_port":9982,"peer":"127.0.0.1","peer_port":49986,"started":1512444027,"type":"HTSP","user":"admin"}],"totalCount":2}
-
OK - I believe I have fixed the username/password issue and implemented complete Kodi 18 (LE9) compatibility. Before I release to github, please test this version and let me know of any issues.
script.module.zap2epg-0.6.0-TEST2.zip
Thanks!
-
Great work. Just had a successful download, with no error. Vacation must help with coding.
Code2017/12/06 17:45:42 Kodi settings version is: None 2017/12/06 17:45:42 Running zap2epg for zipcode: 50702 and lineup: Local Over the Air Broadcast 2017/12/06 17:45:42 Adding Tvheadend username and password to request url... 2017/12/06 17:45:42 Accessing Tvheadend channel list from: http://127.0.0.1:9981 2017/12/06 17:45:42 23 Tvheadend channels found...
-
Looks like testing reports are good for Kodi 17/18 - LE 8/9 compatibility so I'm going to update for real.
I've also added a function that pre-selects the OTA Tvheadend channels that are enabled on your system when creating your channel list. This basically automates the process of adding only the OTA stations your using to your epg data downloads to speed things up.
Enjoy!
Releases · edit4ever/script.module.zap2epg · GitHub
And thank you for reporting any issues.
-
Here's a couple of updates - one specifically for issues with bad channels. Now if the channel is not enabled in Tvheadend, zap2epg won't try to match the service name.
v0.6.2 (2017-12-13)
- Only match Tvheadend channels that are enabled
- Add option for original genre categories
- Various fixes for extra description listings
Releases · edit4ever/script.module.zap2epg · GitHub
Thanks to all for the continued feedback!
-
This seems to run and download the info but I get an error message from TVHeadend labeled "EPG Update" that says "Communication failure" and the EPG Screen remains blank on TVHeadend. From the TVHeadend log file, it looks like TVHeadend crashes and reboots. The XMLTV.xml file looks good and the log file from Zap2Epg looks complete but TVHeadend doesn't seem to load the xml file.
I'm running an RPi3 with LibreElec 8.0.2, TVHeadend 4.2.2-32, with Zap2EPG 6.2 using HDHomerun Connect as the Tuner.
-
cloudfire I assume you have enabled the zap2epg grabber in tvheadend. Do you have any other grabbers enabled?
-
Just noticed mine hasn't updated since installing v0.6.2 (2017-12-13) on its own. Turned off tvh service name and its running now.
-
OK - looks like I need to take a look at the username/password configuration.
Thanks for the update - I'll take a look and let you know when I have a fix to test!
--- actually - can you try a test for me? From a web browser enter the following:
USERNAME:[email protected]:9981/api/channel/grid?all=1&limit=999999999&sort=name
Then if you get a response with that - try the version below:
USERNAME:[email protected]:9981/api/channel/grid?all=1&limit=999999999&sort=name&filter=[{"type":"boolean","value":true,"field":"enabled"}]
If that gives an error - please let me know.
Thanks!
-
The first one works and the second one does NOT. It shows me the login box, when I enter the box it just keeps coming up.
-
edit4ever I had the old zap2xml originally enabled but I disabled it when I installed zap2epg, which I enabled and remapped the epg grabber channels to. I also deleted the epg grabber channel mappings from the zap2xml addon.
I just re-ran the epg grabber from the TVHeadend EPG page refresh button and got the Communication error and the log below from TVHeadend. It seems to be grabbing information from the xml file but not displaying it in the EPG page? The log also lists several upcoming recordings but they also do not show up in the "Upcoming / Current recordings" Page
Code
Display More2017-12-16 21:42:22.705 xmltv: /storage/.kodi/addons/script.module.zap2epg/bin/tv_grab_zap2epg: grab took 361 seconds 2017-12-16 21:42:23.970 dvr: entry fd07a2ad24876c95cb413b21a4767bef "Arrow" on "KXRMDT2" starting at 2017-12-21 19:58:30, scheduled for recording by "###.###.#.###" 2017-12-16 21:42:23.993 dvr: entry 304e8d8ba0718cd6fe5f94f8fb2422e9 "The Flash" on "KXRMDT2" starting at 2017-12-26 18:58:30, scheduled for recording by "###.###.#.###" 2017-12-16 21:42:25.589 dvr: entry 887990eaadd0d432d993778e8e498472 "Blindspot" on "KOAADT" starting at 2017-12-22 18:58:30, scheduled for recording by "###.###.#.###" 2017-12-16 21:42:26.018 dvr: entry 60c0a651b5e7db1ab5d6f7dfd4b0f0d1 "Scorpion" on "KKTVDT" starting at 2017-12-18 20:58:30, scheduled for recording by "###.###.#.###" 2017-12-16 21:42:26.029 dvr: entry c1e4fa3486eb86f48a01b42e4af9068a "MacGyver" on "KKTVDT" starting at 2017-12-29 18:58:30, scheduled for recording by "###.###.#.###" 2017-12-16 21:42:26.159 dvr: entry 51faee0f8dfa0a382251e7457294c308 "Scorpion" on "KKTVDT" starting at 2017-12-25 20:58:30, scheduled for recording by "###.###.#.###" There seems to be a problem with the live update feed from Tvheadend. Trying to reconnect... Reconnected to Tvheadend 2017-12-16 21:42:39.739 htsp: Got connection from 127.0.0.1 2017-12-16 21:42:39.739 htsp: 127.0.0.1: Welcomed client software: Kodi Media Center (HTSPv25)
-
cloudfire there seems to be an issue in your tvheadend setup. The zap2epg addon doesn't create a log for recordings and other aspects of tvh.
You seem to be running the older LE 8.02 - perhaps you can resintall tvh...and I would also recommend updating to LE 8.2.1 which is a stable release.
If you want to include a debug log, we can take a look and see if something else is going on with tvh.
One thing to check - since it is not currently working correctly - is to turn off the "Append Tvheadend Service Name" option in the zap2epg settings.
cabbresson - thanks for the info. There is a bug in the tvh api that I need to work around if they don't fix it.
-
OK - I believe I have fixed the issue with Tvh service name appending. I had to rework the url header due to an improper response from the Tvh api.
Give 0.6.3 a try and let me know if you have any issues.
Releases · edit4ever/script.module.zap2epg · GitHub
Thanks!
-
For those of you testing on LE 9 builds (like Milhouse) - here is an updated Tvheadend42 addon for RPi 2/3 with commits that add the ability to replace the weird/missing tvh genre listings with the original genre/category information from the xmltv file.
Dropbox - service.tvheadend42-9.0.113c.zip
If you update to this version of Tvheadend42 (RPi 2/3 only!) - then take a look at the EPG Grabber Modules tab and select my zap2epg addon - you will notice new checkboxes for:
- Scrape credits and extra information:
- Alter programme description to include detailed information:
- Use category instead of genre:
If you enable the first and third items and set the "Include Episode Genres" option in the zap2epg addon to "Original" - the epg in Kodi will now show the complete set of genre information for the show and it will not color in the epg.
If you prefer a colored epg, you can just select the "Scrape credits and extra information" option in the tvh epg grabber and then set the "Include Episode Genres" option in the zap2epg addon to "Simple" or "Full" depending on your coloring preferences.
Please note - when you enable these options, you will need to rerun the grabber and reload the epg in Kodi (which you can do through the PVR settings or rebooting)
Unfortunately, while I can provide an updated Tvheadend42 for LE 8.2 - it won't give you the same benefits as the pvr.hts client needs updating as well and there are too many commits to try to backport. Consider it a new function for the upcoming LE 9 release.
Let me know if you have any questions!
-