Kodi Community Forum
Linux HOW-TO watch Live TV in XBMC for Linux with Tvheadend, the easy way! - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Tips, tricks, and step by step guides (https://forum.kodi.tv/forumdisplay.php?fid=110)
+--- Thread: Linux HOW-TO watch Live TV in XBMC for Linux with Tvheadend, the easy way! (/showthread.php?tid=91716)



- _BJ1 - 2011-04-07

raisch Wrote:as i thought, there were file rights missing.
no i can login.

I'm not able to login into the webinterface. What have you done?

_BJ1


- tut-ankh-amon - 2011-04-07

dushmaniac Wrote:...
windows:
- opening streams doesn't always work on windows when using tvheadend (failures in ReadResult()). retrying a couple of times is a work around. haven't investigated the cause yet. I've seen similar behaviour on linux, when the EPG is being updated, but it happens 50% of the time on windows.
...

Maybe I can shed some light on the cause of this behavior, at least the symptoms I see are very similar to what I saw when I first tried MDAPI; it only happens when you tune a new frequency and only with encrypted channels. I'm not an expert at video or DVB-streams, but I'll try to explain the problem as I understood it from the code:

With certain DVB-tuner cards, when you tune to a new frequency, the first ts-packets can get skewed in the sample (as it's called in the code). Let's say that the first ts-packet of the new channel only consists of the last 80 bytes and not the 188 bytes it's supposed to be. This means that you get one incomplete ts-packet and the last 80 bytes of the last ts-packet in every sample will be missing from that sample and instead be the first 80 bytes of the next sample, and all ts-packets will be skewed in the samples until the DVB-tuner drivers correct this.
With MDAPI you would get several lines in the log from line 1059 and a couple from line 1112 of this file: mdapifilter.cpp

So my question is: Does Tvheadend/xbmc handle this?


- opdenkamp - 2011-04-07

I'll have a look at this. thanks for the pointer


thx:s - Garlic12 - 2011-04-08

Nemphys Wrote:JackBurton, Garlic12:
Since some recent build of TvHeadend, one must explicitly add login privileges to the user XBMC is using to connect to it (before that, you could just use the admin login data of TvHeadend), through the backend (Configuration->Access Control). The new entry there must match the login information of the TvHeadend plugin in XBMC.

This solved my problem.
dushmaniac: thxConfused for the nice work you are doing with this!


- opdenkamp - 2011-04-08

new packages have been published on the xbmc-pvr PPA. if you're having troubles after upgrading, go to system->settings->livetv and reset the TV database there.


- ezechiel1917 - 2011-04-08

dushmaniac Wrote:new packages have been published on the xbmc-pvr PPA. if you're having troubles after upgrading, go to system->settings->livetv and reset the TV database there.

thanks, but how can I update from odk14 based on xbmc-live? apt-get upgrade is not available, apt-get install xbmc removes some required packages. upgrade with apt-get install from odk6 to odk14 worked fine. any idea?

Code:
[08/04/11 - 14:15:25] xbmc@XBMCLive:~$ sudo apt-get install xbmc
Reading package lists... Done
Building dependency tree
Reading state information... Done
[08/04/11 - 14:15:27] The following packages were automatically installed and are no longer required:
[08/04/11 - 14:15:27]   policykit linux-backports-modules-compat-wireless-2.6.35-2.6.32-26-generic linux-backports-modules-alsa-2.6.32-26-generic
[08/04/11 - 14:15:27]   libpolkit-dbus2 intel-gpu-tools libpolkit-grant2 libpolkit2
[08/04/11 - 14:15:27] Use 'apt-get autoremove' to remove them.
[08/04/11 - 14:15:27] The following extra packages will be installed:
[08/04/11 - 14:15:27]   python-bluez xbmc-bin
[08/04/11 - 14:15:27] Suggested packages:
[08/04/11 - 14:15:27]   xbmc-test-helper
[08/04/11 - 14:15:27] The following packages will be REMOVED:
[08/04/11 - 14:15:27]   xbmc-data xbmc-live xbmc-skin-confluence xbmc-standalone
[08/04/11 - 14:15:27] The following NEW packages will be installed:
[08/04/11 - 14:15:27]   python-bluez
[08/04/11 - 14:15:27] The following packages will be upgraded:
[08/04/11 - 14:15:27]   xbmc xbmc-bin
[08/04/11 - 14:15:27] 2 upgraded, 1 newly installed, 4 to remove and 5 not upgraded.



- janumix - 2011-04-08

try to install each package with version number i.e.:
apt-get install xbmc=2:11.0-pvr+odk16~git20110408.e686e63-0ubuntu1~ppa+odk16~maverick

Regards
Janusz


- ezechiel1917 - 2011-04-08

janumix Wrote:try to install each package with version number i.e.:
apt-get install xbmc=2:11.0-pvr+odk16~git20110408.e686e63-0ubuntu1~ppa+odk16~maverick

Regards
Janusz

each of the new or those that are removed with installation of new xbmc ppa versions? If I try that with new versions, xbmc-live , xbmc-standalone etc still gets removed, and I think if I wanted to install those removed it had unmet dependencies on older packages (not installed anymore because of upgrade)


- opdenkamp - 2011-04-08

hmm I did test an upgrade from an existing xbmc (non-live) on maverick on a vm and it looked fine here.

I'll check out the upgrade once I get home.


- opdenkamp - 2011-04-08

ok, found the problem. I ran my tests on maverick, which had uxlaunch in it's repo. it's not available in lucid and karmic, so the packages are showing unmet dependencies and can't be upgraded properly.

reverting back to last time's xbmc-packaging should fix the problem for now. I'll publish fixed packages tonight or tomorrow.


- ezechiel1917 - 2011-04-08

great Smile I'm sorry I didn't post proper log with ubuntu version (lucid). In mean time I had to revert to odk14 and will test out newer builds when they're available.


- opdenkamp - 2011-04-08

updated packages without uxlaunch are being uploaded now.


- opdenkamp - 2011-04-08

updated packages are available on the ppa now (odk18). xbmc-skin-confluence and xbmc-data will be replaced by xbmc-bin, so if you're seeing a warning that packages will be removed, don't be alarmed.


- ezechiel1917 - 2011-04-08

just updated without a problem. thanks for the quick fix Nerd


- rbcarnevale - 2011-04-09

Thanks for the great working. I'm trying to make it works with isdb-tb.