Kodi Community Forum

Full Version: [LINUX] HOW-TO get Live TV with VDR and PVR-Testing Branch - Without manual compile!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Quote:Would it be possible to add the HDHomeRun plug-in to the VDR repos?

lucid:

https://launchpad.net/~yavdr/+archive/testing-vdr
https://launchpad.net/~yavdr
http://ppa.launchpad.net/yavdr/testing-v...hdhomerun/

untested
Thanks, once I get my lucid machine up I'll test out the packages
Hi all,

I have installed the PPA package and XBMC starts up fine etc...

I have run the VDR on a seperate server (previously a Myth setup, so had client and several servers).

The output from the syslog is:

Code:
May 15 18:56:29 mythserver vdr: [2263] plugin 'streamdev-client' called obsolete function RegisterI18n()
May 15 18:56:29 mythserver vdr: [2263] starting plugin: streamdev-server
May 15 18:56:29 mythserver vdr: [2263] plugin 'streamdev-server' called obsolete function RegisterI18n()
May 15 18:56:29 mythserver vdr: [2263] loading /var/lib/vdr/plugins/streamdevhosts.conf
May 15 18:56:29 mythserver vdr: [2272] streamdev server thread started (pid=2263, tid=2272)
May 15 18:56:29 mythserver vdr: [2272] Streamdev: Listening (VTP) on port 2004
May 15 18:56:29 mythserver vdr: [2272] Streamdev: Listening (HTTP) on port 3000

When I start up XBMC on the client machine, this is the log:

Code:
May 15 18:56:58 mythserver vdr: [2272] Streamdev: Accepted new client (VTP) 192.168.1.4:42266
May 15 18:57:39 mythserver vdr: [2267] frontend 0 timed out while tuning to channel 46, tp 177
May 15 18:57:39 mythserver vdr: [2270] frontend 1 timed out while tuning to channel 50, tp 191
May 15 18:58:00 mythserver vdr: [2267] frontend 0 timed out while tuning to channel 102, tp 198
May 15 18:58:00 mythserver vdr: [2270] frontend 1 timed out while tuning to channel 13, tp 481
May 15 18:58:21 mythserver vdr: [2267] frontend 0 timed out while tuning to channel 73, tp 490

The error on starting XBMC is:

------------------------------------
[VDRClient for streamdev]
------------------------------------
Addon can not used
An unknown error has occured
------------------------------------

I I click OK on that dialog, then attempt to go to 'Live TV' I then get:

------------------------------------
Information
------------------------------------
No PVR Clients available
Please check your settings or the backend
------------------------------------

I've checked and rechecked all the settings:

Code:
#
# svdrphosts    This file describes a number of host addresses that
#               are allowed to connect to the SVDRP port of the Video
#               Disk Recorder (VDR) running on this system.
# Syntax:
#
# IP-Address[/Netmask]
#

127.0.0.1             # always accept localhost
192.168.1.0/24     # any host on the local net
#204.152.189.113      # a specific host
#0.0.0.0/0            # any host on any net (USE THIS WITH CARE!)

Code:
#
# streamdevhosts  This file describes a number of host addresses that
#                 are allowed to connect to the streamdev server running
#                 with the Video Disk Recorder (VDR) on this system.
# Syntax:
#    
# IP-Address[/Netmask]
#

127.0.0.1             # always accept localhost
192.168.1.0/24     # any host on the local net
#204.152.189.113      # a specific host
#0.0.0.0/0            # any host on any net (USE THIS WITH CARE!)

Code:
# /etc/default/vdr
#
# See also /usr/share/doc/vdr/README.Debian.gz
#

# Change to 1 to enable vdr's init-script
ENABLED=1

# Change this to 1 if you want vdr to be able to shutdown the
# computer
ENABLE_SHUTDOWN=1

# Options that will be passed to vdr's commandline
# for example: OPTIONS="-w 15"
OPTIONS="-w 60"

VIDEO_DIR="/media/media/vdr"

The path to the VIDEO_DIR does exist (this was the first problem I had - VDR wouldn't start up - I 777ed it and then it would start ok).

I can netcat to the port on that machine:

Code:
netcat 192.168.1.7 2004
220 Welcome to Video Disk Recorder (VTP)

I also tried compiling from source on another machine, but the errors are exactly the same (although it seems like a slightly different build).

EDIT: I just noticed this:

Code:
mythserver vdr: [2263] device 1 has no MPEG decoder

I read that VDR needs a 'fully featured card'. Could this be the problem? Both cards are Hauppauge Nova-T PCI cards.
dchurch24 Wrote:
Code:
#
# svdrphosts    This file describes a number of host addresses that
#               are allowed to connect to the SVDRP port of the Video
#               Disk Recorder (VDR) running on this system.
# Syntax:
#
# IP-Address[/Netmask]
#

127.0.0.1             # always accept localhost
192.168.1.0/24     # any host on the local net
#204.152.189.113      # a specific host
#0.0.0.0/0            # any host on any net (USE THIS WITH CARE!)

Code:
127.0.0.1             # always accept localhost
192.168.1.0/24     # any host on the local net
#204.152.189.113      # a specific host
#0.0.0.0/0            # any host on any net (USE THIS WITH CARE!)

Code:
netcat 192.168.1.7 2004
220 Welcome to Video Disk Recorder (VTP)


check your local network settings:

192.168.1.0/24

for me this is:

192.168.2.1/24

Is the address of your router 192.168.1.0 or 192.168.1.1 ?

I use the hauppauge nova-t cards with no problems so you can safely rule that out.
dubstar_04 Wrote:check your local network settings:

192.168.1.0/24

for me this is:

192.168.2.1/24

Is the address of your router 192.168.1.0 or 192.168.1.1 ?

I use the hauppauge nova-t cards with no problems so you can safely rule that out.

Good to hear about the cards - although, if it came to it I'd buy better ones if needs be.

My router is 192.168.1.1, should I use 192.168.2.1/24 in that case?
Just tried it in any case, and sadly it's the same story :-(
Hi

I just spent the past few nights configuring my xbmc box. Almost everything works fine, congratulations to the authors !!! Wow.

Unfortunately I used the older ppa (the vdr team and henningpingel), I run lucid.
xbmc version is pvr-testing-34~yavdr-lucid2979+3
vdr is 1.7.10-10yavdr1
nvidia glx is 185.18.36

Do you think I SHOULD upgrade to the "new" yavdr ppa ?
dchurch24 Wrote:Just tried it in any case, and sadly it's the same story :-(

I had the same kind of trouble, went for 0.0.0.0/0 ...
My network is pretty safe (I hope).
Mario22 Wrote:I had the same kind of trouble, went for 0.0.0.0/0 ...
My network is pretty safe (I hope).

Changed it to 0.0.0.0/0 - well, uncommented the line and...exactly the same errors :-(

The odd thing is though it doesn't look like a network problem as streamdev accepts the new client. Sometimes it closes it straight away, but mostly it doesn't:

Code:
May 16 06:06:22 mythserver vdr: [3995] switching to channel 1
May 16 06:06:22 mythserver vdr: [3995] setting watchdog timer to 60 seconds
May 16 06:06:22 mythserver vdr: [3995] ERROR: no OSD provider available - using dummy OSD!
May 16 06:06:24 mythserver vdr: [4004] Streamdev: Accepted new client (VTP) 192.168.1.4:34116
May 16 06:06:24 mythserver vdr: [4004] streamdev: closing streamdev connection to 192.168.1.4:34116
May 16 06:06:28 mythserver vdr: [4004] Streamdev: Accepted new client (VTP) 192.168.1.4:49119


EDIT: Noticing the versions in the post above, mine are:

Code:
vdr --ver
vdr (1.6.0-2/1.6.0) - The Video Disk Recorder
streamdev-server (0.3.4-CVS) - VDR Streaming Server

I assume I have the wrong versions perhaps? These are the latest in the vdr-team ppa respos.
Ok, found the right versions and now it all connects - yay!

It won't actually play any channels yet though (I keep getting "Channel can not be played"), and all the channels in the list say "No information available".

Will check the logs etc... and investigate some more.

I love this stuff, it's like being a detective ;-)

A couple of questions though:

Where can I find the bug-tracker? - I'd really like to give something back, and don't want to submit bugs that have already been submitted.
Is there a way to change the order of the channel list without using the GUI? - the on-screen keyboard seems to be broken for me and using a mouse (from a pad on a remote control) is really difficult ;-)
Are the music visualizations broken in this PPA version of XBMC?


EDIT: Actually, it has information for about 15 channels, and can play 4 or 5. I have done a scan into channels.conf, so am becoming a bit stumped ;-) Most that won't play seem to be ITV channels.
I followed the first post word for word (new install of OS and VDR + XBMC), but I'm getting a really silly error why trying to pipe the output of scan to channels.conf

Any ideas?

Quote: sudo scan -o vdr -a 0 /usr/share/dvb/dvb-s/Hotbird-13.0E > /etc/vdr/channels.conf
-bash: /etc/vdr/channels.conf: Permission denied
Anastrophe Wrote:I followed the first post word for word (new install of OS and VDR + XBMC), but I'm getting a really silly error why trying to pipe the output of scan to channels.conf

Any ideas?

Change the permissions. I simply did "chmod 777 channels.conf" just to be sure.
dchurch24 Wrote:Is there a way to change the order of the channel list without using the GUI?

You can manually edit the channels.conf and change the order. Make sur VDR is not running while editing this file though.

Then under xbmc you can reset your channel information so the list will be updated and the new ordered list will be taken into account.

Quote: - the on-screen keyboard seems to be broken for me and using a mouse (from a pad on a remote control) is really difficult ;-)

I bought myself a pretty expensive but very nice bluetooth keybord: logitech dinovo mini.
Image
Woks out of the box under linux, all the keys are directly recognized by xmbc. Nod

Quote:Are the music visualizations broken in this PPA version of XBMC?

Same here. Only one visualization working here. No pb to me.

Quote:EDIT: Actually, it has information for about 15 channels, and can play 4 or 5. I have done a scan into channels.conf, so am becoming a bit stumped ;-) Most that won't play seem to be ITV channels.

Which satellite are you trying to use ? Are you positive your antenna is pointing in the right direction ? How many lines do you have in channels.conf ? Did you create the file yourself ?
dchurch24 Wrote:Change the permissions. I simply did "chmod 777 channels.conf" just to be sure.

Hum .. bad idea.
sudo cmd > file will run cmd as root and redirect sudo's output to file. You can't write to channels.conf as a regular user, so your command fails.

Try:
sudo sh -c "cmd > file"
Mario22 Wrote:You can manually edit the channels.conf and change the order. Make sur VDR is not running while editing this file though.

Then under xbmc you can reset your channel information so the list will be updated and the new ordered list will be taken into account.

Excellent. I did look in channels.conf, but as they were in discernable order (and certainly not matching the order in XBMC), I assumed that this was XBMC specific rather than VDR. Thanks.

Quote:I bought myself a pretty expensive but very nice bluetooth keybord: logitech dinovo mini.
Image
Woks out of the box under linux, all the keys are directly recognized by XBMC. Nod

I have a Logitech wireless keyboard and mouse that I used to use with it - problem is that the kids get hold of it, plus the WAF dictated that a *normal* TV remote was to be used - given the amount of time I need to actually type things on the screen, this isn't a big problem - only really for youtube searches in Navi-X.

Quote:Same here. Only one visualization working here. No pb to me.

Oh well, I'll have to go without for a while ;-) Pity, I like being hyponotized by Goom ;-)

Quote:Which satellite are you trying to use ? Are you positive your antenna is pointing in the right direction ? How many lines do you have in channels.conf ? Did you create the file yourself ?

I am using simple DVB-T (not S). Myth picks up all the channels and channel information. I did this to fill the channel file:

Code:
scan -x 0 -o vdr -a 0 /usr/share/dvb/dvb-t/uk-Dover > /etc/vdr/channels.conf
scan -x 0 -o vdr -a 1 /usr/share/dvb/dvb-t/uk-Dover > /etc/vdr/channels.conf

I have two Nova-T cards in the box, hence the 0 and 1.

Most of the channels now work - even if they don't have any program information, there are just a few left that give an error.

Oddly, even though BBC3 & 4 are listed in the channel.conf file, they don't appear in XBMC.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30