XBMC Community Forum
[LINUX] HOW-TO get Live TV with VDR working in XBMC for Linux - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- 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 get Live TV with VDR working in XBMC for Linux (/showthread.php?tid=45314)



- freezy - 2009-03-20 01:51

hitman936 Wrote:Hi thanks but still getting problems at this point

vdr@rich-desktop:/home/rich$ sudo runvdr
/usr/local/bin/runvdr: 31: Syntax error: "(" unexpected
vdr@rich-desktop:/home/rich$
thanks
hitman936

Change first line from #!/bin/sh to #!/bin/bash at runvdr.


- hitman936 - 2009-03-20 04:18

Hi all thanks for all the help but new babie stuck once again getting errors when running runvdr

vdr: error while reading '/etc/vdr/channels.conf'
vdr: error while reading '/etc/vdr/commands.conf.'
vdr: error while reading '/etc/vdr/reccmds.conf

Thanks
hitman936


- philter - 2009-03-20 04:38

wow


- hotzenplotz5 - 2009-03-20 08:37

@hitman936 plz ask there
http://www.vdrportal.de/board/board.php?boardid=79&sid=

or try google-translator for that:
http://www.vdr-wiki.de/wiki/index.php/Hauptseite

sometimes read the readme helps Big Grin


- splinux - 2009-03-20 09:47

decaturguy Wrote:Hi!

port 3000 is HTTPServerPort and port 2004 is what you need Smile

Thanks very much it works now.
I had a quick look at it, and it seems to be very nice work Smile
I had some freezes while switching channels, is related to some existing bugs, or do I have to check my installation ?
Also when starting live TV I get a window telling something like "updating tv data this may take some time". It stays there forever. I need to push ok and TV again. Is that normal ?

many thanks

sp


- sosi - 2009-03-20 10:21

hitman936 Wrote:Hi all thanks for all the help but new babie stuck once again getting errors when running runvdr

vdr: error while reading '/etc/vdr/channels.conf'
vdr: error while reading '/etc/vdr/commands.conf.'
vdr: error while reading '/etc/vdr/reccmds.conf

Thanks
hitman936

Hi,
For "vdr: error while reading '/etc/vdr/commands.conf."
and "vdr: error while reading '/etc/vdr/reccmds.conf"
This is not a problem here. But for "vdr: error while reading '/etc/vdr/channels.conf", you must apply section 4 of Freezy howto :
4 Find channels on your network.


- nanite1000 - 2009-03-20 15:34

hitman936 Wrote:vdr: error while reading '/etc/vdr/channels.conf'
vdr: error while reading '/etc/vdr/commands.conf.'
vdr: error while reading '/etc/vdr/reccmds.conf

Like Sosi posted you need the channels configured, like in regular TV Wink:
vdr: error while reading '/etc/vdr/channels.conf'

Dont worry about the other two conf files, they are not important for this setup.


- decaturguy - 2009-03-20 17:32

splinux Wrote:Thanks very much it works now.
I had a quick look at it, and it seems to be very nice work Smile
I had some freezes while switching channels, is related to some existing bugs, or do I have to check my installation ?
Also when starting live TV I get a window telling something like "updating tv data this may take some time". It stays there forever. I need to push ok and TV again. Is that normal ?

many thanks
sp

I' glad it worked out for you, I do get updating tv... too just press ok and try it again after 30sec-1min. As for freezes i don't have that problem maybe you should try another revision of xbmc try anything from 18100 to 18173 more than that you loose TV part. I personally use revision 18173, Oohh i almost forgot i did had problem with 18100 if you are using that.. my system freezes and cpu load was like 70% sometimes 100% just running xbmc it even get worst when i try to watch videos or live tv.


- hitman936 - 2009-03-20 18:43

hi and many thanks all for all the help i fixed the vdr: error while reading '/etc/vdr/channels.conf'
that ok now
as far as i can see the problem is still
vdr: error while reading '/etc/vdr/commands.conf.'
vdr: error while reading '/etc/vdr/reccmds.conf

they are missing from the /etc/vdr and i can not find them so i can copy them to the /etc/vdr
Thanks


Can't get Streamdev to compile - henfri - 2009-03-21 12:35

Hi,

I have trouble compiling the patched streamdev.
I'm using this patch:
http://www.xbmc.org/trac/attachment/ticket/5595/streamdev-cvs180209-vdr-1.7.4_xbmc-v4.patch.gz

Here's what I do:
Code:
cvs -d:pserver:anoncvs@vdr-developer.org:/var/cvsroot login
cvs -d:pserver:anoncvs@vdr-developer.org:/var/cvsroot co -D 2/18/09 streamdev
wget http://www.xbmc.org/trac/raw-attachment/ticket/5595/streamdev-cvs180209-vdr-1.7.4_xbmc-v4.patch.gz
gunzip streamdev-cvs180209-vdr-1.7.4_xbmc-v4.patch.gz
patch -p0 < streamdev-cvs180209-vdr-1.7.4_xbmc-v4.patch
No rejects.

VDR is patched (getRecordingsEvent)
The result of make:
Code:
./server/connectionVTP.h: In constructor 'cConnectionVTP::cConnectionVTP()':
./server/connectionVTP.h:36: warning: 'cConnectionVTP::m_LSTTHandler' will be initialized after
./server/connectionVTP.h:30: warning:   'RecPlayer* cConnectionVTP::m_RecPlayer'
server/connectionVTP.c:555: warning:   when initialized here
server/connectionVTP.c: In member function 'bool cConnectionVTP::CmdREAD(char*)':
server/connectionVTP.c:854: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'long unsigned int'
server/connectionVTP.c: In member function 'bool cConnectionVTP::CmdPLAY(char*)':
server/connectionVTP.c:911: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'uint32_t'
server/connectionVTP.c:902: warning: unused variable 'recordings'
server/connectionVTP.c: In member function 'bool cConnectionVTP::CmdLSTR(char*)':
server/connectionVTP.c:1278: warning: format '%ld' expects type 'long int', but argument 4 has type 'tEventID'
server/connectionVTP.c:1278: warning: format '%ld' expects type 'long int', but argument 6 has type 'int'
server/connectionVTP.c:1278: warning: too many arguments for format
server/connectionVTP.c: In member function 'bool cConnectionVTP::CmdRENR(char*)':
server/connectionVTP.c:1365: error: no matching function for call to 'cRecording::Rename(char*&)'
/usr/local/src/VDR/include/vdr/recording.h:166: note: candidates are: bool cRecording::Rename(const char*, int*, int*)
server/connectionVTP.c:1361: warning: unused variable 'priority'
server/connectionVTP.c:1362: warning: unused variable 'lifetime'
server/connectionVTP.c: In member function 'bool cConnectionVTP::CmdFRAM(const char*)':
server/connectionVTP.c:1622: warning: unused variable 'recording'
make: *** [server/connectionVTP.o] Error 1

I should mention that I use VDR 1.6.
Any suggestions?

Greetings,
Hendrik