Kodi Community Forum

Full Version: 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.
dushmaniac Wrote:https://github.com/opdenkamp/xbmc/tree/Dharma

@dushmaniac: Hi, I did:

Code:
git clone https://github.com/opdenkamp/xbmc/tree/Dharma xbmc

and received

Code:
fatal: https://github.com/opdenkamp/xbmc/tree/Dharma/info/refs not found: did you run git update-server-info on the server?

What is wrong?
use:
Code:
git clone -b Dharma git://github.com/opdenkamp/xbmc.git

read the git manual/howto for more info.
@dush:

Could you explain what's wrong with EPG and recordings:
1. trying to add timer from Timeline causes "random" program to be recorded - different date/time/channel I was choosen. Syslog shows the same "random" information scheduled by tvheadend to record. Recording from tvheadend's DVR queues correctly. Looks like communication problems: addon - tvheadend - epg.
2. trying to add manualy timer - Server error massage appears - log:
Code:
13:23:44 T:3055855488 M:880459776   DEBUG: LIRC: Update - NEW at 3281522:000000008001018e 00 KEY_OK TTS35AI (KEY_OK)
13:23:44 T:3055855488 M:880459776   DEBUG: OnKey: 11 pressed, action is Select
13:23:44 T:3055855488 M:880459776   DEBUG: ------ Window Deinit (DialogPVRTimerSettings.xml) ------
13:23:44 T:3055855488 M:880459776   DEBUG: AddOnLog: xbmc.pvrclient/Tvheadend HTSP Client: cHTSPData::AddTimer()
13:23:44 T:3055855488 M:880459776   DEBUG: AddOnLog: xbmc.pvrclient/Tvheadend HTSP Client: cHTSPData::AddTimer - Failed to parse param
13:23:44 T:3055855488 M:880459776   ERROR: PVR: Tvheadend HTSP Client/127.0.0.1:9982 - Client returns bad error (-3) after AddTimer
13:23:44 T:3055855488 M:880459776    INFO: Loading skin file: DialogOK.xml
13:23:44 T:3055855488 M:880459776   DEBUG: Load DialogOK.xml: 0.84ms

full log
http://pastebin.com/dVrNqL6Z

PS. Any update on buggy EPG ? XBMC crush on some EPG updates - problems with SQL update on DB.

Regards
Janusz
1) no idea. works fine here using the same version of xbmc. try updating your tvheadend to v2.12 (svn rev. 5683)
2) probably the same cause as 1
3) the pvr functionality in the Dharma tree won't be updated anymore. development happens in the master branch now (which is for development only). so, quick answer: please be patient Smile
1,2) hmm... both are latest from your PPA. Is there a way to debug it ?
3) OK - I'll be waiting Smile
I have I strange problem with mixed up of logos (svt1 and svt2) Eek

http://www.youtube.com/watch?v=Djov-kXTzkk

HTS Tvheadend 2.12 and Prebuild Windows setup of XBMC Dharma final r35648 v2 (git PVR build).
janumix Wrote:1,2) hmm... both are latest from your PPA. Is there a way to debug it ?
3) OK - I'll be waiting Smile
not really and that codebase is outdated. you'll have to wait for a new release for a fix.

whoareyou Wrote:HTS Tvheadend 2.12 and Prebuild Windows setup of XBMC Dharma final r35648 v2 (git PVR build).
no idea what kind of build that is. you're saying it's built from the git tree and you're providing an svn revision.
dushmaniac Wrote:no idea what kind of build that is. you're saying it's built from the git tree and you're providing an svn revision.

No, wrong. The text "Windows setup of XBMC Dharma final r35648 v2 (git PVR build)" is copied from
http://www.scintilla.utwente.nl/~marcelg...build.html
to clarify what version I run. But it didn't clarify...

I am running the pre build version of Xbmc downloaded from that page.
http://dl.dropbox.com/u/7249985/xbmc/xbm...PVR_v2.exe
Build date 23-01-2011.
ah right, that's margro's builds. those are built from the old code too and contains some changes that aren't in me tree. so can't support it, sorry.

maybe margro can help you.
@dushmaniac

any plans to update your tvheadend binary (i'm using karmic)? getting crashes everyday with the official 2.12 and your version. Never had this problem with early builds of tvheadend.

http://pastebin.com/6P3JsHxC


this looks similar to my problem and looks like andoma fixed it a month ago

http://www.lonelycoder.com/redmine/issues/334
@ffreak

Update for scheduling recordings scripts.
To shutdown (suspend) after recording you can do a quick trick:
1. check what system user is your tvheadend run on. In my case: hts
2. create a simple script somewhere i.e. /home/hts/shutdown.sh as follows (remember chmod u+x):
Code:
#!/bin/sh
sudo /usr/sbin/pm-suspend &
3. add following line to /etc/sudoers (repleace with user your tvheadend is run on):
Code:
hts ALL=NOPASSWD: /usr/sbin/pm-suspend # TVHeadend
4. through web page of tvheadend: Configuration -> Digital Video Recorder point parameter Post-processor command to your script i.e. /home/hts/shutdown.sh
5. That's it - should work

Regards
Janusz
moontan77 Wrote:any plans to update your tvheadend binary (i'm using karmic)? getting crashes everyday with the official 2.12 and your version.
testing the latest revision now. when I'm confident that it's OK, I'll push new packages. might have a chat with Andoma before.
janumix Wrote:@ffreak

Update for scheduling recordings scripts.
To shutdown (suspend) after recording you can do a quick trick:
1. check what system user is your tvheadend run on. In my case: hts
2. create a simple script somewhere i.e. /home/hts/shutdown.sh as follows (remember chmod u+x):
Code:
#!/bin/sh
sudo /usr/sbin/pm-suspend &
3. add following line to /etc/sudoers (repleace with user your tvheadend is run on):
Code:
hts ALL=NOPASSWD: /usr/sbin/pm-suspend # TVHeadend
4. through web page of tvheadend: Configuration -> Digital Video Recorder point parameter Post-processor command to your script i.e. /home/hts/shutdown.sh
5. That's it - should work

Regards
Janusz
Hi,

would be *great* if we could somehow get this information about automatic wake-up / shutdown over at the tvheadend wiki for (future) reference.
This is not the first place I would look for that information.

What do you guys think....
regards,
Ruud.
@janumix

thank you Smile, really helps me with tvheadend.
Ruud Wrote:would be *great* if we could somehow get this information about automatic wake-up / shutdown over at the tvheadend wiki for (future) reference.

so why don't you add that info there? Smile