Kodi Community Forum

Full Version: [OLD] HOW-TO watch Live TV in XBMC for Linux with Tvheadend, the easy way!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
decay Wrote:Hi Ruud,

didn't work for me, still 2h off with tvheadend svn-r5359.

Hi Decay,
Initially I had the same issue and when selection a program to record from the tvguide (XBMC) it would pop up as a completely different recording in tvheadend. but after restarting I think it cleaned the cache and after that all is well.
So not sure what you have tried already, but for me it was a 'caching problem'.

hope this helps.
regards,
Ruud.
Hm, didn't think of a cache issue, will try in the evening. Thanks.

alex
decay Wrote:B0nde: Just install tvheadend on your debian box, what's the problem?

Problem is having 2 gateways on 1 box. I still want my LAN users to be able to acces google ;-) If it was as easy as just installing tvheadend I wouldnt be asking..
@ Gujs

Any chance we will see an merge of the current progress in Dharma-Beta2 in your PVR version? Smile Or will you wait till the final release?
Setting up manually an htsp source perfectly works, tvheadend webinterface works fine, but loading tvheadend xbmc addon and enabling liveTV won't show any channel in liveTV section.
The same setup with VDR (streadmdev or vnsi client) is OK (but VDR is unstable with dual tuner).

Any Idea to have a fully working tvheadend liveTV?
I'm having the same problem with the latest svn revision and I intend to look into that problem as soon as I have time.

The last revision that worked properly here is svn 33599. If you use that one you should get channels in your livetv section.
Think I found the problem:
Code:
--- xbmc-pvr~10.08~svn33599/xbmc/pvrclients/tvheadend/HTSPData.cpp    2010-10-02 13:18:27.640274000 +0200
+++ xbmc-pvr~10.08~svn-latest/xbmc/pvrclients/tvheadend/HTSPData.cpp    2010-08-10 18:43:23.000000000 +0200
@@ -178,10 +177,10 @@
     tag.stream_url    = "";
     tag.bouquet       = 0;

-    if (radio && tag.radio)
-        PVR->TransferChannelEntry(handle, &tag);
-    else if (!radio)
-        PVR->TransferChannelEntry(handle, &tag);
+    if(radio && tag.radio)
+    {
+      PVR->TransferChannelEntry(handle, &tag);
+    }
   }

   return PVR_ERROR_NO_ERROR;

Non-radio channels are not being tranfered. Will do a test build now and check if that's the problem.

edit:
That's indeed the problem. Reported in on trac: http://trac.xbmc.org/ticket/10413
Patch that fixes it (against svn r32595): http://trac.xbmc.org/attachment/ticket/1...nels.patch
dushmaniac Wrote:Think I found the problem:
SNIP

Hmm.. which version of XBMC are you using? XBMC SVN (Dharma 2)? XBMC-PVR2-SVN? Or the Gujs builds?

Because latest pvr2-svn is 32871 right?
dushmaniac -->Yupp works, have you got HD channels working? mine dont detect vdpau width/height so no vdpau acceleration...

thanks for the fix!
Hey. If you guys want to compile latest pvr branch yourself, you an use my own fixes. You can get it here:
http://trac.xbmc.org/ticket/9414
Razor_109 Wrote:Hmm.. which version of XBMC are you using? XBMC SVN (Dharma 2)? XBMC-PVR2-SVN? Or the Gujs builds?

Because latest pvr2-svn is 32871 right?

pvr-testing2. just did an "svn up" and it says revision 32595 here.

druggo Wrote:dushmaniac -->Yupp works, have you got HD channels working? mine dont detect vdpau width/height so no vdpau acceleration...

thanks for the fix!
nope:
Code:
13:58:37 T:2942094192 M:1677770752  NOTICE: CDVDVideoCodecFFmpeg::Open() Creating VDPAU(0x0, 28)
13:58:37 T:2942094192 M:1677770752 WARNING: (VDPAU) no width/height available, can't init
13:58:37 T:2942094192 M:1677770752  NOTICE: CDVDVideoCodecFFmpeg::Open() Failed to get VDPAU device
looking into that now

also looking to your fixes Gujs, but didn't see the channel fix in there. I also added the encryption type to tvheadend and the addon and update the patch to run against the latest svn of tvheadend.
might be better to put it all in 1 ticket
Hi, there is a patch supplied to a trac i posted, when i apply it, i loose all functionality with the livetv, and im forced to add a htsp:// to get tv, havent tested latest svn though.


http://trac.xbmc.org/ticket/9842
Managed to get HD w/ vdpau working in livetv nu, i used Gujs patch tvheadend_enhancement.patch..

another issue that i have, all my HD channels work except for 1, see log: http://pastebin.ca/1953513

any ideas??
Just had a look at Gujs's patch and it looks like the vdpau and epg thing should be fixed with that. Only comment (same as topfs2 noticed), split those things up in separate patches Smile

Doing a build now.

druggo Wrote:Managed to get HD w/ vdpau working in livetv nu, i used Gujs patch tvheadend_enhancement.patch..

another issue that i have, all my HD channels work except for 1, see log: http://pastebin.ca/1953513

any ideas??

Looks like the data isn't coming in (correctly)?
Code:
#
20:08:22 T:2894383984 M:2749513728   DEBUG: CDVDPlayerAudio:: Discontinuity - was:89188614318.635910, should be:89188614714.513031, error:395.877121
#
20:08:23 T:2965109616 M:2747863040    INFO: CDVDPlayerVideo - Stillframe detected, switching to forced 25.000000 fps


edit:
btw, my source dir had some defect cause svn up didn't work anymore. did a new checkout, version 34397.
Gujs's patch doesn't work against that one here or I messed something up
I posted some new patches in Gujs's ticket ( http://trac.xbmc.org/ticket/9414 ) that fix some bugs in the latest svn (and the proper one this time, rev. 34446, last commit 32871)