Linux Is there a howto for VDR on 12.10 installation?
#1
Hi!

I am very familiar with the Linux XBMC Ubuntu setup, but I always have my problems installing VDR.
Is there a good howto which uses a ppa with the latest version of VDR and the necessary plugins?
Ubuntu main source has 1.7.28 only, which of course works.
I want only the latest build

My Ubuntu is minimal setup based on 12.10 64bit

I found this ppa, but VDR doesn’t work
https://launchpad.net/~aap/+archive/vdr

Many thanks in advance

URBANsUNITED
Reply
#2
maybe this will help. I kept some notes when installing on 13.04 (sorry in a rush to expand on them, but they will get you started):

1) add repo

sudo apt-add-repository ppa:yavdr/unstable-vdr
sudo apt-get update

2) install packages

sudo apt-get install vdr vdr-dev vdr-plugin-streamdev-server vdr-plugin-eepg vdr-plugin-femon vdr-plugin-vdrmanager vdradmin-am python-software-properties git pkg-config

3) install vnsi4

mkdir Downloads
cd Downloads/
git clone git://github.com/opdenkamp/xbmc-pvr-addons.git
cd xbmc-pvr-addons/addons/pvr.vdr.vnsi/vdr-plugin-vnsiserver
make
sudo make install

sudo mkdir /var/lib/vdr/plugins/vnsiserver4
sudo cp /etc/vdr/plugins/streamdevhosts.conf /var/lib/vdr/plugins/vnsiserver4/allowed_hosts.conf

4) config VDR

* see notes below for more options

1st stop VDR:
sudo /etc/init.d/vdr stop

change some settings of vdr:
sudo nano /etc/default/vdr

amend the following:
ENABLED = 1 # enables the init script
MinUserInactivity = 0 # stops auto shutdown

Add your channels (if you don't have any you need to scan with w_scan, see Notes at the bottom of post):
sudo nano /etc/vdr/channels.conf

-------------------OPTIONAL:

configure your addons as desired:
sudo nano /var/lib/vdr/plugins/streamdev-server/streamdevhosts.conf
sudo nano /var/lib/vdr/plugins/vnsiserver4/allowed_hosts.conf
sudo nano /var/lib/vdr/svdrphosts.conf
sudo nano /etc/vdr/plugins/plugin.vdrmanager.conf

config addon vdradmin:
sudo nano /var/lib/vdradmin-am/vdradmind.conf
set username and password (default port 6419)
sudo nano /etc/default/vdradmin-am (may need to start service first)
set Enabled to 1

sudo /etc/init.d/vdradmin-am start


------------End of OPTIONAL

finally restart vdr
sudo /etc/init.d/vdr start

###############################
NOTES:
##############################

Port numbers:
vdradmin: http://youripaddress:8001/
streamdev: http://youripaddress:3000/

--------------------------------
Log file:
cat /var/log/syslog | grep vdr
--------------------------------
Command to scan for UK channels (stop vdr first) - amend for your country / device:
scan: sudo w_scan -C UTF-8 -f s -c GB -s S28E2 -o 7 -a 0 -E 0 >> myChannels.conf
--------------------------------
VDR manual: http://www.linuxtv.org/vdrwiki/index.php...Manual#DVB
--------------------------------
To start vdr service on boot add the following to '/etc/rc.local':
sudo /etc/init.d/vdr start
--------------------------------
default recording DIR = /var/lib/video.00 you can change it in /etc/default/vdr (VIDEO_DIR)
--------------------------------
URL to get UK logos (svn checkout url /dir/) : http://svn.code.sf.net/p/mp-plugins/code...UKTVThumb/
--------------------------------
To add keymaps for VDR control in XBMC:
<Addon>
<keyboard>
<r>Red</r>
<b>Blue</b>
<g>Green</g>
<y>Yellow</y>
</keyboard>
</Addon>
--------------------------------
Stop channels.conf automatically updating:

stop vdr
/etc/vdr/setup.conf
UpdateChannels = 0
Change value according to your needs
http://www.linuxtv.org/vdrwiki/index.php...Manual#DVB
start vdr

# Controls the automatic channel update function.
# 0 : means no update,
# 1 : will only update channel names,
# 2 : will update channel names and PIDs,
# 3 : will perform all updates and also add newly found channels, and
# 4 : will also add newly found transponders.
-----------------------------
Guide to building an all in one Ubuntu Server - TV(vdr),File,Music,Web

Server Fractal Designs Define XL, Asus P5QL/EPU, Dual Core E5200, 4gb, L4M-Twin S2 v6.2, Supermicro AOC-USAS-L8I, 1*SSD & 13*HDD drives (24TB total) - Ubuntu Server
XBMC 1 ASRock Z77E-ITX, G850, 8GB RAM, SSD, BD - Ubuntu / OpenElec frodo
XBMC 2 Revo 3700 - OpenElec frodo
XBMC 3 Raspb Pi
Reply
#3
DEar Charlie,

many thanks for your detailed answer.
I already started with switching from 12.10 to 13.04 and setting up my server.
The yavdr repo is know for me, but as they don't have vdr for 12.10 in their repo I had to search for another option.

Again, many thanks

URBANsUNITED
Reply
#4
I'm still interested, My HTPC isrunning 12.10 and I'm a little bit confused with all those version of vdr and the corresponding xbmc plugin. Which vdr version and xbmc should I use? I'm a little bit confused with the yavdr ppa since I can't find a version for 12.10.

Thanks!
Reply
#5
it doesn't look like yavdr have a vdr package for 12.10. I guess that leaves you with the options (in no particular order):

1) use yavdr ppa but install an older dists package
2) upgrade to 13.04
3) use ubuntus sources instead of yavdr
4) compile your own vdr
Guide to building an all in one Ubuntu Server - TV(vdr),File,Music,Web

Server Fractal Designs Define XL, Asus P5QL/EPU, Dual Core E5200, 4gb, L4M-Twin S2 v6.2, Supermicro AOC-USAS-L8I, 1*SSD & 13*HDD drives (24TB total) - Ubuntu Server
XBMC 1 ASRock Z77E-ITX, G850, 8GB RAM, SSD, BD - Ubuntu / OpenElec frodo
XBMC 2 Revo 3700 - OpenElec frodo
XBMC 3 Raspb Pi
Reply
#6
I'm on 12.10 and used the aap ppa, no problems with it yet, allthough I'm not on the latest version (2.0.2-279). Did you get any error messages when trying to start vdr?
Reply

Logout Mark Read Team Forum Stats Members Help
Is there a howto for VDR on 12.10 installation?0