Kodi Community Forum

Full Version: VDR 2.1.6 and live-plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've build a new TV-Server including a DD Cine S2 + TT-Butget S2-3200.
I use Ubuntu 14.04.1 headless with VDR 2.1.6

I compiled VDR with the following plugins.
  • VDR 2.1.6
  • vnsi-server-plugin
  • epgsearch-plugin
  • streamdev-server-plugin
  • live-plugin
So VDR works... I can use 3 tuner but I get the following errors in sys.log

1.)
Code:
Dec 16 08:03:54 Gotham-City vdr: [5072] [live] ERROR: Unable to load cert/key (/var/lib/vdr/plugins/live/live.pem//var/lib/vdr/plugins/live/live-key.pem): Datei oder Verzeichnis nicht gefunden

2.)
Code:
Dec 16 08:03:55 Gotham-City vdr: [5044] ERROR: no OSD provider available - using dummy OSD!
there is a patch to fix this (osd.patch) but I don't get it patched.
I copied the patch in source folder from vdr-plugin-live
Code:
patch -p1 <./osd.patch
but I get the following error
Code:
can't find file to patch at input line 360
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/pages/Makefile b/pages/Makefile
|old mode 100644
|new mode 100755
|index 78a4a9c..2ca1b8d
|--- a/pages/Makefile
|+++ b/pages/Makefile
--------------------------
File to patch:
so I think I must doing something wrong but I don't know what...

3.)
Code:
Dec 16 08:03:55 Gotham-City vdr: [5044] ERROR: Kanal blockiert (zeichnet auf)!
for this error google found the following to fix it....
Quote:Looks like a problem with the new way VDR tries to keep the current
channel active on the primary device. It assumes that the primary
device is able to actually replay something, which in your case is
not true.

Please try changing the line

if (!cDevice:TonguerimaryDevice()->HasProgramme()) {

in VDR/vdr.c into

if (!cDevice:TonguerimaryDevice()->HasProgramme() && cDevice:TonguerimaryDevice()->HasDecoder()) {

This will prevent a primary device that can't actually replay or show live video
from continuously trying to set the channel.
but I'm not sure if this is the right way....
Why do you think 2) is an issue. Having no OSD provider is in general no issue.
3) could be an issue because vdr won't tune to a channel when not streaming. plugins like femon won't work then.
For this reason you can configure vnsi as primary device by adding command line parameter -d
https://github.com/FernetMenta/vdr-plugi...dbe5778c74
(2014-12-17, 18:38)FernetMenta Wrote: [ -> ]Why do you think
2) is an issue. Having no OSD provider is in general no issue.
because of the "error" in syslog :-) te be earnest: I've red that with patch the massage will be gone
AND it will show the vdr-setting-menu in live-plugin

Quote:3) could be an issue because vdr won't tune to a channel when not streaming. plugins like femon won't work then.
For this reason you can configure vnsi as primary device by adding command line parameter -d
https://github.com/FernetMenta/vdr-plugi...dbe5778c74

so I have to add the parameter -d in runvdr, right?
I tried as follow by changing runvdr

Code:
VDRPRG="/usr/local/bin/vdr"

VDROPTIONS="-w 60 --epgfile=/var/lib/vdr/epg.data -l 1 --no-kbd --video=/home/svenilee/MyVideos"
# For other options see manpage vdr.1

VDRPLUGINS="-P 'vnsiserver -d' \
            -P 'dvbapi' \
            -P 'streamdev-server' \
            -P 'epgsearch' \
            -P 'live'"

but than vdr didn`t start...
can you set log level to 3 and post syslog?
here is the syslog...

Code:
Dec 19 09:21:33 Gotham-City vdr: [5211] VDR version 2.1.6 started
Dec 19 09:21:33 Gotham-City vdr: [5211] codeset is 'UTF-8' - known
Dec 19 09:21:33 Gotham-City vdr: [5211] found 28 locales in /usr/local/share/locale
Dec 19 09:21:33 Gotham-City vdr: [5211] loading plugin: /usr/local/lib/vdr/libvdr-vnsiserver.so.2.1.6
Dec 19 09:21:33 Gotham-City vdr: [5211] deleting plugin: vnsiserver
Dec 19 09:21:33 Gotham-City vdr: [5211] max. latency time 0 seconds
Dec 19 09:21:33 Gotham-City vdr: [5211] exiting, exit code 2

nothing more...
what version of vnsiserver do you use?
version 1.2.0 from your git compiled last week...
seems there is a bug. try the long option --device instead of -d
yes, that helps

the error
Code:
vdr: [5044] ERROR: Kanal blockiert (zeichnet auf)!
is gone... thanks!

Any ideas what I make wrong with patch for vdr-plugin-live?