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)



- kdevane - 2011-04-27

@dushmaniac
found the problem, the following file appears to have been added

/var/lib/polkit-1/localauthority/50-local.d/20-xbmclive.pkla

once i removed it, shut down works again.


- janumix - 2011-04-27

dushmaniac Wrote:@janumix
it's called a crashlog Smile

it was too late to post Smile

Quote:and try this: delete the files in ~/.xbmc/userdata/Database before starting xbmc.

Yes, that's it ... tnx.


- opdenkamp - 2011-04-28

@kdevane
that's been added a couple of builds before, not recently.
it's probably already fixed in xbmc-packaging. I'll check it out before the next ppa build


- jack burton - 2011-04-28

jack burton Wrote:Hi all,
i successfully installed xbmc-dharma pvr as described on the first post of this thread, i've only two problems:
- live tv is choppy : it seems like the player continuosly try to synchronize the video flow ... alternating slow and fast reproduction ...
- if i don't set "vertical sync" in video settings, in the home page i have 90-100 fps and the cpu load is constantly 100%... This didn't happen before the last upgrade of xbmc..

I'll post a log in the evening,
Thank you.

dushmaniac Wrote:@danz0l:
after configuring your grabber, try executing it (again, as user hts) and check the output on the console. if your grabber has some debugging option, enable it.

@NiPiN³:
try this. create a file ~/.xbmc/userdata/advancedsettings.xml (if you don't already have it) and put this in it:
Code:
<pvr>
  <inputstreamdelay>500</inputstreamdelay>
</pvr>
this will delay the playback of pvr streams by 500ms. changing channels will be a bit slower, but you shouldn't get buffer underruns anymore. if you still get them, increase the value to 1000 and check again. it's not a real solution, but a work around until I fixed buffering properly there.

jack burton Wrote:i still have the issue described above also after the introduction of the delay..
i paste-bin the log when i started playing the channel (33 fps with stuttering)

http://pastebin.com/e8d0bXXU

Thank you

I tried to open tvheadend channels with totem mediaplayer from html interface (of tvheadend) and it works well on all channels, while with xbmc the issue persists: on some channels it works fine, and the debug console shows constant frame rate: 25 or 50 fps.
In other channels i have a variable framerate form 19 to 45, and xbmc start to reproduce video with variable speed while audio seems ok.

Any ideas ? Rolleyes

thank you so much for your work Big Grin


- behaviour - 2011-04-28

dushmaniac Wrote:@behaviour:
not a known issue. please create a ticket for this on trac and attach a crashlog or debug log to it if no crashlog is available. thanks.

There was no crashlog for the isue as XBMC was still running but the screen was blank. I have reinstalled the machine (was due to do this anyway) and it's currently working OK. I'll post again with logs if it re-occurs.

Thanks


- opdenkamp - 2011-04-28

@Jack burton
I've changed a couple of things in the dev tree, which should (at least partially) solve that problem. try again when a new build is published, somewhere around the week end.

@behaviour
that issue should have been solved in the latest build (odk30)


- janumix - 2011-04-28

Hi

Manual timer are still not working. XBMC just after OK deletes new entry:

Code:
13:04:04 T:10577728 M:879923200   DEBUG: OnKey: browser_forward (a7) pressed, action is Down
13:04:05 T:10577728 M:879931392   DEBUG: LIRC: Update - NEW at 2295235:0000000080010066 00 KEY_DOWN TTS35AI (KEY_DOWN)
13:04:05 T:10577728 M:879931392   DEBUG: OnKey: browser_forward (a7) pressed, action is Down
13:04:06 T:10577728 M:879931392   DEBUG: LIRC: Update - NEW at 2296535:000000008001018e 00 KEY_OK TTS35AI (KEY_OK)
13:04:06 T:10577728 M:879931392   DEBUG: OnKey: 11 (0b) pressed, action is Select
13:04:06 T:10577728 M:879931392   DEBUG: ------ Window Deinit (DialogPVRTimerSettings.xml) ------
13:04:06 T:10577728 M:880439296   DEBUG: AddOnLog: Tvheadend HTSP Client: AddTimer - channelUid=8 title=A epgid=-1
13:04:06 T:3034569584 M:880697344   ERROR: AddOnLog: Tvheadend HTSP Client: ParseDVREntryUpdate - malformed message received
13:04:06 T:2971630448 M:880697344   DEBUG: Thread CJobWorker start, auto delete: 1
13:04:06 T:2971630448 M:880697344   DEBUG: CPVRTimers - ExecuteUpdate - updating timers
13:04:07 T:3034569584 M:880185344   DEBUG: AddOnLog: Tvheadend HTSP Client: ParseDVREntryDelete - Recording 42 was deleted
13:04:07 T:3034569584 M:880185344   DEBUG: CAddonCallbacksAddon - QueueNotification - Tvheadend HTSP Client - Info Message : 'Recording deleted: '''
13:04:07 T:2971630448 M:880185344   DEBUG: CPVRTimers - ExecuteUpdate - updating timers
13:04:07 T:2971630448 M:880185344   DEBUG: CPVRRecordings - ExecuteUpdate - updating recordings


BTW Default timer date is set to be 01.01.2012. Having just one day step to set it up - takes a while Smile


- opdenkamp - 2011-04-28

@janumix:
yeah "ParseDVREntryUpdate - malformed message received" isn't very nice Smile

please create a ticket for this on trac. thanks


- bas.t - 2011-04-29

@dushmaniac:

While in the epg (timeline) xbmc crashes again. I use your latest build.

The latest crashlogs are here:http://pastebin.ubuntu.com/600599/
and here:http://pastebin.ubuntu.com/600604/

Hope it helps.

Cheers,

Bas.


- opdenkamp - 2011-04-29

@bas.t
please create a ticket on trac for that crash.


- Nemphys - 2011-04-30

After the epg related commits of the last 2 days, XBMC crashes every time while updating the epg entries right after startup, unless I delete the Epg4.db file. If I do so, everything is ok for the first run, bust starts crashing again after the first restart of xbmc.

Crash log:
http://pastebin.ubuntu.com/601062/


- rbcarnevale - 2011-04-30

rbcarnevale Wrote:I trying to use it in Brazil. We use isdbt-tb (h.264 video + he-aac v2 audio), but I l'm having an issue in audio. I think that could be a problem in streaming. So i've this post: http://www.lonelycoder.com/redmine/issues/245

It's the same bug.

I´ve done some progress. I think I´ve discovered the problem. Some problem envolving streaming to XBMC. I´ve tried playing in streaming to VLC and It´s recognized correctly the audio codec. However when I´ve recorded a stream in XBMC and tryed to play in VLC It hasn´t audio.

So I´ve update the ticket and send a sample in:

http://www.lonelycoder.com/redmine/issues/245


- moontan77 - 2011-04-30

anyone know if its possible to add more content types to tvheadend or get tvheadend to show all?. The xmltv source i use has content type for all shows, but the only one I see appearing on tvheadend is music.


- phofman - 2011-04-30

dushmaniac Wrote:@phofman:
the epg not loading is probably a bug in tvheadend or an issue with that mux. could use an xmltv grabber for those channels if it's available.

Thanks a lot for help. I am afraid there is no xmltv grabber available for that mux yet. Perhaps I could try to make one based on http://www.xmltvepg.be/rytecxmltvskylink.gz . I would be surprised if they did not send EPG in this mux. Is there a way to debug the missing EPG in tvheadend? Without EPG the recording in tvheadend is much more complicated. Thanks a lot for any hints.

dushmaniac Wrote:could you create a ticket on trac for the issue on xbmc's side and attach a full debug log to it please.

Hopefully this is OK

http://trac.xbmc.org/ticket/11492

dushmaniac Wrote:some sorting buttons can't be enabled in tvheadend's webui. andoma probably just didn't implement those (yet)

Thanks a lot for the information, sorting is no big deal.


- opdenkamp - 2011-05-01

@phofman:
thanks for the ticket.

Quote:I would be surprised if they did not send EPG in this mux. Is there a way to debug the missing EPG in tvheadend
maybe something shows up when you enable debugging output in the web interface, but I doubt it. better ask for help on tvheadend's own forums or #hts on freenode.