Posts: 25
Joined: Feb 2015
Reputation:
0
I tried your suggestions:
Setting the recording location to /storage/recordings/ did in fact work. With the recording location set to that the recording functionality works. Sadly, whatever is wrong with your addon was still not working with the recording location set to the internal drive.
Either way, I reformatted my hard drive to ext4, and while the program is still a little picky about recording locations, it is working now.
I went ahead and purchased the MPEG-2 license, as well as the VC-1. I'm not sure if I'll need that, but it was cheap so why not. I know SSH well enough to edit the config file for that, so when those come in I'll get that plugged in.
Thank you so much for all of your help!!
Posts: 475
Joined: Mar 2016
Reputation:
21
Great - I'd love to get another copy of your kodi.log right after you get the error when trying to load the dvr configuration in my addon. I assume the other functions in the addon are working?
Posts: 25
Joined: Feb 2015
Reputation:
0
Actually no, last I tried every function in the addon was throwing that error. I will try to see if I can get the log.
Posts: 475
Joined: Mar 2016
Reputation:
21
OK thanks-
I see a user access error to the tvheadend system. Can I ask if you setup a user profile in Tvheadend or did you just leave the default setup when you installed?
Are you able to use the kodi tv functions? (did you install the tvheadend pvr client?)
And finally - just to make sure - do the other functions in my addon work for you?
Posts: 25
Joined: Feb 2015
Reputation:
0
You're welcome. I bet that is it. I do have a administrator profile setup with a username and password. That is probably why the addon isn't working.
I've been planning on setting up a user profile (Haven't set that up yet) what username and password does your addon use, or how can I change the username and password the addon pushes?
Posts: 475
Joined: Mar 2016
Reputation:
21
I didn't originally add support for users/admin passwords as it was designed for simple setup. However, it should be something I can add in. Might be able to look at it later today and then maybe you can test it.
Thanks!
Posts: 475
Joined: Mar 2016
Reputation:
21
Since we're discussing the tvh2kodi addon - I'm going to move over there to continue its troubleshooting. I've posted a test version that should handle adding a tvheadend username/password in the settings.
Posts: 21
Joined: Jul 2017
Reputation:
0
LHoust
Junior Member
Posts: 21
Using zap2xml v0.7.1 under LibreElec 8.0.2 with TVheadend 4.2.2-32 (addon 8.1.1.111) on a Raspberry Pi 3, using a HDHomeRun Connect Tuner.
Although I had success with my Zap2it Account, with my TV Guide Account the script is not working (no Channels for Mapping and no EPG Data being retrieved)!
After a few seconds the script exits with the following message:
Exception
error<type 'exceptions.ValueError'>
Traceback (most recent call last):
File "/storage/.kodi/addons/script.module.zap2xml/zap2xml.py", line 2143, in <module>
main()
File "/storage/.kodi/addons/script.module.zap2xml/zap2xml.py", line 2111, in main
printChannels(fh)
File "/storage/.kodi/addons/script.module.zap2xml/zap2xml.py", line 1292, in printChannels
for key in sorted( stations, cmp=sortChan):
File "/storage/.kodi/addons/script.module.zap2xml/zap2xml.py", line 1228, in sortChan
tmp = float(stations[a]["order"]) - float(stations[b]["order"])
ValueError: invalid literal for float(): 15.1M
Within TV Guide's Listings for my Area there are three Channel Listings which include a Single Trailing Letter (11.1S, 15.1M & 30.1S), where 15.1M is one of my Favorites.
If I remove Channel 15.1M from my Favorites the Exception does not occur, the balance of my Favorites then have EPG Sources which can be mapped
and lastly EPG Listings are retrieved for the balance of my Favorites!
Might zap2xml.py be enhanced so that it can handle these Trailing Letters contained within TV Guide's Listings?