Kodi Community Forum

Full Version: TVHEADEND TVH addon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
If you can't install the latest version, post a debug log (wiki) that shows you trying to install it.
@negge: I took 0.9.5 from http://forum.kodi.tv/showthread.php?tid=...pid1815588 and installed.

When trying to activate, an error comes up. In the log:

18:54:58 T:139840721983232 NOTICE: PVRManager - starting up
18:54:58 T:139840747161344 NOTICE: Thread PVRManager start, auto delete: false
18:54:58 T:139840738768640 NOTICE: Thread PVRClient start, auto delete: false
18:54:58 T:139840738768640 ERROR: Unable to load /home/ullix/.kodi/addons/pvr.tvh/XBMC_pvr_tvh.pvr, reason: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.17' not found (required by /home/ullix/.kodi/addons/pvr.tvh/XBMC_pvr_tvh.pvr)
18:54:58 T:139840738768640 WARNING: UpdateAndInitialiseClients - failed to create add-on Tvheadend Client, status = 6
18:54:58 T:139840738768640 WARNING: UpdateAndInitialiseClients - failed to load the dll for add-on Tvheadend Client, disabling it
18:54:58 T:139841075640064 NOTICE: Thread AddonStatus pvr.tvh start, auto delete: true

So, how do I get the missing glib?

~$ uname -a
Linux haswell 3.13.0-39-generic #66~precise1-Ubuntu SMP Wed Oct 29 09:56:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

~$ lsb_release -a
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
Try compiling it yourself, your version of Ubuntu has an older version of glibc. You can also upgrade to Ubuntu 14.04.
Well, my problem is that I don't know how to compile Blush

But then, if the pvr.tvh does work with an earlier version of glibc too, doesn't this mean that it would be more opportune to compile against such an earlier version in the first place, because it assures compatibility with more systems?
Look at the readme on Github, it's very easy. I've actually never encountered this particular error before so I don't know if it can be fixed by compiling differently or not.
Well, after some struggling I finally managed to creat *.zip files.

I can install and activate both pvr.tvh (0.9.5) and pvr.hts (1.9.31) on kodi and watch TV. There does not seem to be any difference in performance or behaviour. With both the switching between channels does take up to 30 seconds, much, much longer than before (tvheadend and kodi are on the same computer with i7 CPU).

pvr.tvh gives an error message:
20:18:57 T:140065158178560 ERROR: AddOnLog: Tvheadend Client: pvr.tvh - malformed dvrEntryAdd/dvrEntryUpdate
20:18:57 T:140063715358464 ERROR: Previous line repeats 2 times.

pvr.hts also gives an error:
20:24:24 T:139726400321280 NOTICE: Thread PVRClient start, auto delete: false
20:24:24 T:139726400321280 NOTICE: AddOnLog: Tvheadend HTSP Client: CHTSPConnection - SendGreeting - connection opened to 'HTS Tvheadend 3.9.1991~g464383a~precise', protocol v17 (timeshift enabled)
20:24:24 T:139725578938112 NOTICE: Thread BackgroundLoader start, auto delete: false
20:24:24 T:139726375143168 ERROR: AddOnLog: Tvheadend HTSP Client: ParseDVREntryUpdate - malformed message received
20:24:26 T:139725578938112 ERROR: Previous line repeats 2 times.
20:24:26 T:139725578938112 NOTICE: Thread PVRGUIInfo start, auto delete: false

though in either case I can wathc live tv and records without any impact (as it seems)

But obviously, GLIBC 2.17 is not required. My Ubuntu precise 12.04 has glibc 2.15, and this seems sufficient. Would certainly increase the user base, if you make the glibc requirements less stringent.
I'll have to look into the malformed DVR message, but channel switch times have nothing to do with the addon. If it takes 30 seconds for you then obviously you're having other issues.
I have a problem, my kodi to display the channel, the image is locked, however when viewing the tvheadend the browser it is normal ...
    For all returns, need to change the channel ... Everything put back to work after a few minutes crashes again, forcing me to change the channel again.

I'm using Helix beta 1 -
tvheadend - 09/03/1991 ~ ~ trusty g464383a
Mac mini - Yosemite


Anyone have a version of the addon compiled for mac mini for the beta 1 kodi?
Can you get me a debug log?
Hi! I compile it to ARM (A20), using Linaro 14.04, but was unable to enable Smile the addon. The error is:

Code:
00:03:50 T:2895578144   ERROR: Unable to load /root/.xbmc/addons/pvr.hts/XBMC_Tvheadend.pvr, reason: /root/.xbmc/addons/pvr.hts/XBMC_Tvheadend.pvr: wrong ELF class: ELFCLASS64

Why this error occurred?
You must have compiled it incorrectly.
@negge, it took me more follow my log.
the error occurred between 18:10 and 18:12


http://pastebin.com/ew1KwW0u
@iorifly: what's the issue here?
I have a problem, my kodi to display the channel, the image is locked, however when viewing the tvheadend the browser it is normal ...
For all returns, need to change the channel ... Everything put back to work after a few minutes crashes again, forcing me to change the channel again.

I'm using Helix beta 1 -
tvheadend - 09/03/1991 ~ ~ trusty g464383a
Mac mini - Yosemite


Anyone have a version of the addon compiled for mac mini for the beta 1 kodi?
(2014-11-05, 20:28)negge Wrote: [ -> ]You must have compiled it incorrectly.

Hi negge! I was trying compile to ARM. I fix this error running the command:
Code:
./configure --build=arm-linaro-linux
make zip
ps 1: I'm running linaro (ubuntu version) for allwiner A20.
ps 2: I edit Makefile on xbmc-pvr-addons/addons directory to compile only pvr.tvh

The compilation process ends and the zip file "pvr-tvh-linux-arm.zip" was generated.

When I installed, I got the error: "dependencies not met" and the output on xbmc.log was:
Code:
20:58:54 T:3043827712   DEBUG: Addon pvr.tvh requires xbmc.codec version 1.0.0 which is not available
20:58:54 T:3043827712   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
20:58:54 T:3043827712   DEBUG: Window DialogKaiToast.xml was already loaded
20:58:54 T:3043827712   DEBUG: Alloc resources: 0.01m
20:58:54 T:3043827712    INFO:   msg: PICTURE::LoadImage: Unable to open image: /root/pvr.tvh-linux-arm.zip/icon.png Error: (2)
20:58:54 T:3043827712   ERROR: Texture manager unable to load file: /root/pvr.tvh-linux-arm.zip/icon.png
20:59:00 T:3043827712   DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
20:59:04 T:3043615776   DEBUG: Suspended the Sink

What could be wrong?

----- EDIT -----
I unzip manually the file into .xbmc/addons directory and try to enable the addon. The log output is:

Code:
21:12:57 T:2923254816   DEBUG: RegisterClient - registering add-on 'Tvheadend Client'
21:12:57 T:2923254816   DEBUG: PVR - Create - creating PVR add-on instance 'Tvheadend Client'
21:12:57 T:2923254816   DEBUG: ADDON: Dll Initializing - Tvheadend Client
21:12:57 T:2923254816   DEBUG: SECTION:LoadDLL(/root/.xbmc/addons/pvr.tvh/XBMC_pvr_tvh.pvr)
21:12:57 T:2923254816   DEBUG: Loading: /root/.xbmc/addons/pvr.tvh/XBMC_pvr_tvh.pvr
21:12:57 T:2948420640   DEBUG: CRecentlyAddedJob::UpdateVideos() - Running RecentlyAdded home screen update

and the xbmc crash. The link to xbmc crash log is on gist: https://gist.github.com/vitorcarvalhoml/...162b5a7077

I appreciate your help. Thanks!
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36