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

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



- opdenkamp - 2011-04-01 00:22

the first post was outdated. updated it with the correct package name.

try this:
Code:
apt-get remove hts-tvheadend
apt-get install tvheadend



- Kosmosnautti - 2011-04-01 01:11

Hmm, after doing that the tvheadend webconfig still works as before, EPG data shows up etc, but now I can't see any channels anymore on the XBMC side :/

I've tried clearing all the channel data from Live TV > General, but even that didn't help, no matter what I do, channels just won't show up on XBMC anymore. On the tvheadend webconfig they seem to be exactly the same as before.


- Kosmosnautti - 2011-04-02 20:53

Victory at last!

Just got it working, needed to add new login thru the webconfig of tvheadend for XBMC to connect.

However, I still didn't get EPG data to show up. But, selecting "Ignore Database for PVR-Server EPG" from "Live TV > EPG" fixed everything, and now I have the correct EPG on all of my channels! Smile

Thanks again for helping me out Smile


- opdenkamp - 2011-04-03 00:28

try to stop xbmc, remove ~/.xbmc/userdata/Epg*.db and start xbmc again. your db layout might be outdated and not updated properly.

if that doesn't work, please pastebin a full debug log


epg - bas.t - 2011-04-03 17:29

@ dushmaniac:

The epg in the pvr tvheadend addon is currently only showing the plot, not the director, actors or genre (like actionmovie, comedy or other), that is, where I live, the Netherlands

Is this intentionally?

btw, I tried your ppa (.deb) as well as installing from both the ppa-pvr an the master git.
It all resulted in the same (lack of) info in the epg.
In earlier builds this was OK.

Cheers,

bas.


- opdenkamp - 2011-04-03 17:39

director and actors have never been in there.
it should display the genre. if it doesn't display the genre, it's a bug.


- bas.t - 2011-04-03 17:54

dushmaniac Wrote:director and actors have never been in there.
it should display the genre. if it doesn't display the genre, it's a bug.

But I'm quite sure I remember recording movies based on who's playing in it, not so long ago.
In the webui of tvheadend this is the line above the genre.

I'm confused. I usually do not have a memory problem. But I'm sure you know best. Let's make this a feature request, shall we?

Kind regards,

bas.


- opdenkamp - 2011-04-03 18:35

ah right, you were talking about the recordings. I was looking at epg tags. I'll have a look at it.


- bas.t - 2011-04-03 19:00

dushmaniac Wrote:ah right, you were talking about the recordings. I was looking at epg tags. I'll have a look at it.

Thank you very much!

Just to make sure, my english is less than perfect:
I was talking about selecting a show in the epg (timeline mode), which gives me a popup containing all the needed info, including genre actors and so on, and giving me the opportunity to record it. Maybe this was fully functional in Dharma? That I don't remember...

btw: thanks for fixing the offset of epg by using utc. Helps alot now that we are using summertime. Never used the offset before, and I'll be using 'master' branche until this fix shows up in ppa-pvr.

Cherio, keep up the good work!

bas.


- opdenkamp - 2011-04-03 19:05

I've added the genre in the dialogs and on the interface in the dev version. will be present in the next build.

the other info isn't on the interface now. will add that later.


- Nemphys - 2011-04-04 15:18

Hi, first of all, thanx for the hard work you have been doing, I (and many others here) really appreciate it.
Since I see many git commits within the past few days, I am wondering if you plan to make a new ppa build soon (so that maybe I don't have to go through the trouble compiling the dev build).
Also, I saw some commits concerning the import of backend channel groups; does this mean that TvHeadend tags (?) will be imported or something? That would be great!
Finally, I have noticed that if I turn the option "Ignore database blah blah" off in the EPG options, I soon get some weird inconsistencies in EPG data (so I currently have turned it on). Is this what I should do?


- opdenkamp - 2011-04-04 16:00

Nemphys Wrote:Since I see many git commits within the past few days, I am wondering if you plan to make a new ppa build soon (so that maybe I don't have to go through the trouble compiling the dev build).
I'm just waiting for the vdr and mythtv authors to update their add-ons now. After that, a new build will be sent to the ppa.

Quote:Also, I saw some commits concerning the import of backend channel groups; does this mean that TvHeadend tags (?) will be imported or something? That would be great!
yes. if you add tags to channels in the tvheadend webinterface, xbmc will create groups for those tags and add the tagged channels to the groups. in the next build, you'll see a new option in the pvr settings page: "sync channel groups with backends", where you can turn it on and off.

Quote:Finally, I have noticed that if I turn the option "Ignore database blah blah" off in the EPG options, I soon get some weird inconsistencies in EPG data (so I currently have turned it on). Is this what I should do?
sounds like a bug. wait for the new ppa build (planned for later this week) and check if it the bug is still present there. might have been fixed already.


- Nemphys - 2011-04-04 17:02

Thank you for the super-fast reply!
Since I am too anxious to wait, I will try compiling the dev source!


- ErAzOr2k - 2011-04-04 18:54

dushmaniac Wrote:yes. if you add tags to channels in the tvheadend webinterface, xbmc will create groups for those tags and add the tagged channels to the groups. in the next build, you'll see a new option in the pvr settings page: "sync channel groups with backends", where you can turn it on and off.

will it also work with tvserver (mediaportal) as backend?


- moontan77 - 2011-04-04 21:34

anyone have any problems with tvheadend crashing using usb tv tuners? I am using ubuntu karmic and this seems to happen nearly every day. Using dushmaniac's latest tvheadend build at the moment.


Apr 4 19:47:18 xbmc3 kernel: [200761.768146] INFO: task tvheadend:1341 blocked for more than 120 seconds.
Apr 4 19:47:18 xbmc3 kernel: [200761.768156] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Apr 4 19:47:18 xbmc3 kernel: [200761.768163] tvheadend D c081b5c0 0 1341 1 0x00000000
Apr 4 19:47:18 xbmc3 kernel: [200761.768175] f2a61e78 00000086 00000000 c081b5c0 f6be73a8 c081b5c0 f78acb12 0000b665
Apr 4 19:47:18 xbmc3 kernel: [200761.768190] c081b5c0 c081b5c0 f6be73a8 c081b5c0 f78aa5dd 0000b665 c081b5c0 f6150000
Apr 4 19:47:18 xbmc3 kernel: [200761.768204] f6be7110 f618c480 f2a61e80 00000000 f2a61e9c c0416175 00000000 f6be7110
Apr 4 19:47:18 xbmc3 kernel: [200761.768218] Call Trace:
Apr 4 19:47:18 xbmc3 kernel: [200761.768237] [<c0416175>] usb_kill_urb+0x65/0xa0
Apr 4 19:47:18 xbmc3 kernel: [200761.768248] [<c015c1b0>] ? autoremove_wake_function+0x0/0x40
Apr 4 19:47:18 xbmc3 kernel: [200761.768280] [<f841eaf4>] usb_urb_kill+0x24/0x40 [dvb_usb]
Apr 4 19:47:18 xbmc3 kernel: [200761.768297] [<f841e27b>] dvb_usb_ctrl_feed+0xdb/0x130 [dvb_usb]
Apr 4 19:47:18 xbmc3 kernel: [200761.768338] [<f841e2da>] dvb_usb_stop_feed+0xa/0x10 [dvb_usb]
Apr 4 19:47:18 xbmc3 kernel: [200761.768359] [<f8326b87>] dmx_section_feed_stop_filtering+0x37/0xa0 [dvb_core]
Apr 4 19:47:18 xbmc3 kernel: [200761.768380] [<f8325676>] dvb_dmxdev_feed_stop+0x66/0x70 [dvb_core]
Apr 4 19:47:19 xbmc3 kernel: [200761.768400] [<f8325886>] dvb_dmxdev_filter_stop+0x36/0xa0 [dvb_core]
Apr 4 19:47:19 xbmc3 kernel: [200761.768420] [<f832591a>] dvb_dmxdev_filter_free+0x2a/0xe0 [dvb_core]
Apr 4 19:47:19 xbmc3 kernel: [200761.768440] [<f83259ee>] dvb_demux_release+0x1e/0xa0 [dvb_core]
Apr 4 19:47:19 xbmc3 kernel: [200761.768451] [<c01e9dca>] __fput+0xda/0x1f0
Apr 4 19:47:19 xbmc3 kernel: [200761.768459] [<c01e9ef5>] fput+0x15/0x20
Apr 4 19:47:19 xbmc3 kernel: [200761.768467] [<c01e6317>] filp_close+0x47/0x70
Apr 4 19:47:19 xbmc3 kernel: [200761.768474] [<c01e63b3>] sys_close+0x73/0xb0
Apr 4 19:47:19 xbmc3 kernel: [200761.768483] [<c01033ac>] syscall_call+0x7/0xb