copy release 1.5.0 of vnsiserver from here: Releases · FernetMenta/vdr-plugin-vnsiserver · GitHub,
extract it and change to that directory
cd vdr-plugin-vnsiserver-1.5.0
make
sudo make install
sudo cp -R ./vnsiserver /var/lib/vdr/plugins/
cd
install some helpful vdr-plugins:
to see the full list of vdr-plugins execute: apt-cache search vdr
now use midnight-commander to edit the following files:
sudo mc
navigate to /etc/default and edit the file: vdr, set ENABLED to 1, press ctrl+x, y and enter to save and exit.
navigate to /etc/vdr and edit the file svdrphosts.conf, and add your home-network ip.
for example mine is 192.168.178.0/24, press ctrl+x, y and enter to save and exit.
repeat this with the file: streamdevhosts.conf in /etc/vdr/plugins ,
and with: allowed_hosts.conf in /var/lib/vdr/plugins/vnsiserver.
use w_scan -h to find out how to create a working channels.conf file for your type of TV-card.
for example : for my dvb-t stick i use: w_scan -f t -A 1 -c DE > channels.conf
copy the created channels.conf to /var/lib/vdr/channels.conf
now reboot and if you’re lucky vdr should start and you can enable the VDR VNSI Client addon in osmc to watch live-tv.
enter http://ip of osmc:8008 in your browser to access the vdr-live plugin from your PC, login is admin, password live.
enter http://ip of osmc:3000 in your browser to access the vdr-streamdev plugin from your PC
on your android devices use the App: AndroVdr to watch live-tv on your android phone or tablet.
if it doesn’t work look if the firmware for you dvb-device is installed in /lib/firmware and check the output of:
dmesg | grep -i dvb
Thank you very much for updating the instructions. I could build and launch VDR - and it’s nicely integrated. Great!
Now, with quite some struggle I found the recordings unter /var/lib/video.00. Hm, interesting place…
Tried to symlink this directory to /mnt/video0 (where my hard disk lives) - but again I’m stupid enough not to manage it.
Sorry - again I do need your valued advice.
BTW: “live” web interface is in English, on my German system. Can I change that?
@ yknivag
Hello. I followed the instuctions directly, and did not destroy my system.
When I create your symlink, the recording still is placed on the SD card, and not on the external HD, mounted under /mnt/video0. - But I need to redirect the recordings to the external hard disk.
Oh sorry, I think I didn’t quite understand what you wanted to do. Try this instead:
sudo -s
cd /var/lib/video.00
mv * /mnt/video0
cd ..
rmdir video.00
ln -s /mnt/video0 ./video.00
exit
sudo apt-get upgrade won’t stop your system working right away, but it will almost certainly have caused hidden damage which will appear as and when you do future upgrades. If you have run that command then you will need to re-install at some point.
edit /etc/default/vdr and add your video directory to the OPTIONS line.
OPTIONS="-w 60 --video /mnt/video0"
you must change the owner and group of your video directory
sudo chown vdr:vdr /mnt/video0
to change the live plugin to german adding this line to /etc/default/vdr should work
export VDR_LANG=de_DE.UTF-8
if it doesn’t work you have to add de_DE.UTF-8 to your locales.
sudo dpkg-reconfigure locales
mark de_DE.ISO-8859-1 and de_DE.UTF-8 in the list,
in the next dialog
select de_DE.UTF-8 as system locale and reboot.
Yes, this works! - Thank you.
Now remains the question - how can I use VDR’s cutting and editing features?
I found how I can set bookmarks at the timeline - but the number keys are not doing anything, as I was used with VDR. Is the feature disabled?
I never used this feature, but it’s builtin in every vdr version. I found this: VDR User's Manual - VDR Wiki
but i believe you must run VDR directly from commandline, not from inside kodi. Try to exit the mediacenter and run vdr from commandline with /etc/init.d/vdr start
I tested this and it works, but it’s unusable with OSMC, you have Kodi and vdr running at the same time in one display. This means you can use vdr from commandline but not in kodi.
For your cutting and editing needs i would recommend MiniDVBLinux Distribution
here you have kodi and vdr clearly separated. You could run vdr on commandline for cutting and editing and inside kodi to watch tv without problems.
Thank you very much for all your effort.
To be honest - that’s not why I choose osmc. My goal was to have a comfortable and configurable solution, where as much as possible works out of the box.
Hopefully, one day some smart fellow will manage to map VDR’s editing commands through Kodi and we’ll have a nicely integrated solution. Luckily, I’m not short of disk space at the moment and can wait quite some time for that. In the case of emergency, ffmpeg offers a comparatively easy cutting feature.