brauche Hilfe bei Plugin

  • Hallo zusammen,


    habe einen Raspberry Piv3 und Raspbian Stretch laufen...

    als DVBS2 Karte betreibe ich einen Sundtek Stick, läuft astrein.

    habe bereits VDR laufen und mit viel Ärger das Plugin "Dvbapi" kompiliert bekommen.

    Aber wenn ich VDR starte über systemctl bzw. init.d dann startet er mir dieses plugin nicht mit.

    wenn ich das ganze händisch in der Konsole starte mit vdr -p plugin, dann startet er es einwandfrei.


    wie bekommt man das hin, dass das plugin auch automatisch mit startet ?


    Vielen Dank schon mal

  • Vermutlich fehlt die conf.d Datei für das Plugin, irgendwo unter /etc/vdr/conf.d/ o.ä.

    - Client1: Thermaltake DH 102 mit 7" TouchTFT * Debian Stretch/vdr-2.4.0/graphtft/MainMenuHooks-Patch * Zotac H55-ITX WiFi * Core i3 540 * 4GB RAM ** Zotac GT630 * 1 TB System HDD * 4 GB RAM * Harmony 900 * satip-Plugin

    - Client2: Alfawise H96 Pro Plus * KODI
    - Server: Intel Pentium G3220 * DH87RL * 16GB RAM * 4x4TB 3.5" WD RED + 1x500GB 2.5" * satip-Plugin
    - SAT>IP: Inverto iLNB

  • was muss da drinnen stehen?

    Mindestens der Name des Plugins in eckigen Klammern, in den nachfolgenden Zeilen können dann zusätzliche Startargumente an das Plugin übergeben werden, in https://www.yavdr.org/documentation/0.6/de/ch01s06.html hatte ich das mal für yaVDR beschrieben, unter Debian funktioniert das im Prinzip genauso.

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • cool super Danke Dir :)


    habe jetzt eine passende plugin.conf in /etc/vdr/conf.avail erstellt und dort nur [plugin] reingeschrieben.

    so wie mache ich nun eine verlinkung nach /etc/vdr/conf.d mit Prio 50 ???


    kannst du mir das bitte noch sagen



    danke schon mal :)

  • Zu Fuß mit ln, also z.B. sudo ln -s /etc/vdr/conf.avail/plugin.conf /etc/vdr/conf.d/50-plugin.conf

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

    Einmal editiert, zuletzt von mini73 ()

  • wie würdest du am besten den vdr in den autostart legen ?

    Wie meinst du das? Das VDR-Paket bringt doch eine Systemd-Unit mit, die den VDR starten lässt und normalerweise bei der Installation automatisch aktiviert wird - falls das aus irgendeinem Grund nicht der Fall sien sollte, kannst du das mit sudo systemctl enable vdr.service nachholen.

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Was sagt systemd denn zum Status der Unit systemctl status vdr.service und was steht im Log?

    journalctl -b -u vdr -l

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Hi!


    Also Log Systemd sagt :


    ● vdr.service - Video Disk Recorder

    Loaded: loaded (/lib/systemd/system/vdr.service; enabled; vendor preset: enabled)

    Active: failed (Result: exit-code) since Mon 2018-12-17 21:05:33 CET; 1min 53s ago

    Process: 395 ExecStart=/usr/bin/vdr (code=exited, status=2)

    Process: 382 ExecStartPre=/bin/sh /usr/lib/vdr/merge-commands.sh reccmds (code=exited, status=0/SUCCESS)

    Process: 319 ExecStartPre=/bin/sh /usr/lib/vdr/merge-commands.sh commands (code=exited, status=0/SUCCESS)

    Main PID: 395 (code=exited, status=2)

    Status: "Startup failed, exiting"


    Dez 17 21:05:32 raspberrypi vdr[395]: [395] deleting plugin: vnsiserver

    Dez 17 21:05:32 raspberrypi vdr[395]: [395] deleting plugin: streamdev-server

    Dez 17 21:05:32 raspberrypi vdr[395]: [395] deleting plugin: live

    Dez 17 21:05:32 raspberrypi vdr[395]: [395] deleting plugin: dvbapi

    Dez 17 21:05:32 raspberrypi vdr[395]: [395] max. latency time 0 seconds

    Dez 17 21:05:32 raspberrypi vdr[395]: [395] exiting, exit code 2

    Dez 17 21:05:33 raspberrypi systemd[1]: vdr.service: Main process exited, code=exited, status=2/INVALIDARGUMENT

    Dez 17 21:05:33 raspberrypi systemd[1]: Failed to start Video Disk Recorder.

    Dez 17 21:05:33 raspberrypi systemd[1]: vdr.service: Unit entered failed state.

    Dez 17 21:05:33 raspberrypi systemd[1]: vdr.service: Failed with result 'exit-code'.


    --------------------------------


    && Log JournalCtl sagt


    pi@raspberrypi:~ $ journalctl -b -u vdr -l

    -- Logs begin at Mon 2018-12-17 21:05:20 CET, end at Mon 2018-12-17 21:06:23 CET. --

    Dez 17 21:05:22 raspberrypi systemd[1]: Starting Video Disk Recorder...

    Dez 17 21:05:23 raspberrypi vdr[395]: [395] VDR version 2.4.0 started

    Dez 17 21:05:23 raspberrypi vdr[395]: [395] switched to user 'vdr'

    Dez 17 21:05:23 raspberrypi vdr[395]: [395] codeset is 'UTF-8' - known

    Dez 17 21:05:24 raspberrypi vdr[395]: [395] found 28 locales in /usr/share/locale

    Dez 17 21:05:24 raspberrypi vdr[395]: [395] loading plugin: /usr/lib/vdr/plugins/libvdr-dvbapi.so.2.4.0

    Dez 17 21:05:24 raspberrypi vdr[395]: [395] loading plugin: /usr/lib/vdr/plugins/libvdr-live.so.2.4.0

    Dez 17 21:05:24 raspberrypi vdr[395]: [395] [live] INFO: validating server ip '0.0.0.0'

    Dez 17 21:05:24 raspberrypi vdr[395]: INFO: validating live server ip '0.0.0.0'

    Dez 17 21:05:24 raspberrypi vdr[395]: [395] loading plugin: /usr/lib/vdr/plugins/libvdr-streamdev-server.so.2.4.0

    Dez 17 21:05:24 raspberrypi vdr[395]: [395] loading plugin: /usr/lib/vdr/plugins/libvdr-vnsiserver.so.2.4.0

    Dez 17 21:05:24 raspberrypi vdr[395]: [395] loading /var/lib/vdr/setup.conf

    Dez 17 21:05:24 raspberrypi vdr[395]: [395] loading /var/lib/vdr/sources.conf

    Dez 17 21:05:24 raspberrypi vdr[395]: [395] loading /var/lib/vdr/diseqc.conf

    Dez 17 21:05:24 raspberrypi vdr[395]: [395] loading /var/lib/vdr/scr.conf

    Dez 17 21:05:24 raspberrypi vdr[395]: [395] loading /var/lib/vdr/channels.conf

    Dez 17 21:05:24 raspberrypi vdr[395]: [395] loading /var/lib/vdr/timers.conf

    Dez 17 21:05:24 raspberrypi vdr[395]: [395] loading /var/lib/vdr/commands.conf

    Dez 17 21:05:24 raspberrypi vdr[395]: [395] loading /var/lib/vdr/reccmds.conf

    Dez 17 21:05:24 raspberrypi vdr[395]: [395] loading /var/lib/vdr/svdrphosts.conf

    Dez 17 21:05:24 raspberrypi vdr[395]: [395] loading /var/lib/vdr/keymacros.conf

    Dez 17 21:05:25 raspberrypi vdr[395]: [439] video directory scanner thread started (pid=395, tid=439, prio=low)

    Dez 17 21:05:25 raspberrypi vdr[395]: [395] registered source parameters for 'A - ATSC'

    Dez 17 21:05:25 raspberrypi vdr[395]: [395] registered source parameters for 'C - DVB-C'

    Dez 17 21:05:25 raspberrypi vdr[395]: [395] registered source parameters for 'S - DVB-S'

    lines 1-26



    also funzt der Autostart nicht :(

  • Die Systemd-Unit startet ja, aber der VDR bricht dann mit dem Exit-Code 2 ab.

    Leider fehlt das entscheidende Stückchen der Logausgabe, kannst du in der Ausgabe von journalctl -b -u vdr -l noch weiter scrollen, so dass du mehr als die ersten 26 Zeilen sehen kannst?

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • mehr spuckt er ned aus


    pi@raspberrypi:~ $ journalctl -b -u vdr -l

    -- Logs begin at Mon 2018-12-17 21:17:02 CET, end at Mon 2018-12-17 21:49:10 CET. --

    Dez 17 21:40:01 raspberrypi systemd[1]: Starting Video Disk Recorder...

    Dez 17 21:40:02 raspberrypi vdr[372]: [372] VDR version 2.4.0 started

    Dez 17 21:40:02 raspberrypi vdr[372]: [372] switched to user 'vdr'

    Dez 17 21:40:02 raspberrypi vdr[372]: [372] codeset is 'UTF-8' - known

    Dez 17 21:40:02 raspberrypi vdr[372]: [372] found 28 locales in /usr/share/locale

    Dez 17 21:40:02 raspberrypi vdr[372]: [372] loading plugin: /usr/lib/vdr/plugins/libvdr-dvbapi.so.2.4.0

    Dez 17 21:40:02 raspberrypi vdr[372]: [372] loading plugin: /usr/lib/vdr/plugins/libvdr-femon.so.2.4.0

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] loading plugin: /usr/lib/vdr/plugins/libvdr-live.so.2.4.0

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] [live] INFO: validating server ip '0.0.0.0'

    Dez 17 21:40:03 raspberrypi vdr[372]: INFO: validating live server ip '0.0.0.0'

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] loading plugin: /usr/lib/vdr/plugins/libvdr-streamdev-server.so.2.4.0

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] loading plugin: /usr/lib/vdr/plugins/libvdr-vnsiserver.so.2.4.0

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] loading /var/lib/vdr/setup.conf

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] loading /var/lib/vdr/sources.conf

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] loading /var/lib/vdr/diseqc.conf

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] loading /var/lib/vdr/scr.conf

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] loading /var/lib/vdr/channels.conf

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] loading /var/lib/vdr/timers.conf

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] loading /var/lib/vdr/commands.conf

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] loading /var/lib/vdr/reccmds.conf

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] loading /var/lib/vdr/svdrphosts.conf

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] loading /var/lib/vdr/keymacros.conf

    Dez 17 21:40:03 raspberrypi vdr[372]: [426] video directory scanner thread started (pid=372, tid=426, prio=low)

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] registered source parameters for 'A - ATSC'

    Dez 17 21:40:03 raspberrypi vdr[372]: [427] epg data reader thread started (pid=372, tid=427, prio=high)

    Dez 17 21:40:03 raspberrypi vdr[372]: [427] reading EPG data from /var/cache/vdr/epg.data

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] registered source parameters for 'C - DVB-C'

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] registered source parameters for 'S - DVB-S'

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] registered source parameters for 'T - DVB-T'

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] no DVB device found

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] initializing plugin: dvbapi (2.2.4-GIT-7d51cc4): SoftCAM for OSCam

    Dez 17 21:40:03 raspberrypi vdr[372]: [426] video directory scanner thread ended (pid=372, tid=426)

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] initializing plugin: femon (2.4.0): DVB Signal Informationsanzeige (OSD)

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] initializing plugin: live (2.3.1): Live Interactive VDR Environment

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] initializing plugin: streamdev-server (0.6.1-git): VDR Streaming Server

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] initializing plugin: vnsiserver (1.6.0): VDR-Network-Streaming-Interface (VNSI) Server

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] ERROR: invalid primary device number: 1

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] ERROR: no primary device found - using first device!

    Dez 17 21:40:03 raspberrypi vdr[372]: vdr: no primary device found - using first device!

    Dez 17 21:40:03 raspberrypi vdr[372]: [372] ERROR: invalid primary device number: 1

    Dez 17 21:40:08 raspberrypi vdr[372]: [427] epg data reader thread ended (pid=372, tid=427)

    Dez 17 21:40:15 raspberrypi vdr[372]: [372] deleting plugin: vnsiserver

    Dez 17 21:40:15 raspberrypi vdr[372]: [372] deleting plugin: streamdev-server

    Dez 17 21:40:15 raspberrypi vdr[372]: [372] deleting plugin: live

    Dez 17 21:40:15 raspberrypi vdr[372]: [372] deleting plugin: femon

    Dez 17 21:40:15 raspberrypi vdr[372]: [372] deleting plugin: dvbapi

    Dez 17 21:40:15 raspberrypi vdr[372]: [372] max. latency time 0 seconds

    Dez 17 21:40:15 raspberrypi vdr[372]: [372] exiting, exit code 2

    Dez 17 21:40:15 raspberrypi systemd[1]: vdr.service: Main process exited, code=exited, status=2/INVALIDARGUMENT

    Dez 17 21:40:15 raspberrypi systemd[1]: Failed to start Video Disk Recorder.

    Dez 17 21:40:15 raspberrypi systemd[1]: vdr.service: Unit entered failed state.

    Dez 17 21:40:15 raspberrypi systemd[1]: vdr.service: Failed with result 'exit-code'.

    pi@raspberrypi:~ $

  • Vielleicht wegen No DVB device found?

    - Client1: Thermaltake DH 102 mit 7" TouchTFT * Debian Stretch/vdr-2.4.0/graphtft/MainMenuHooks-Patch * Zotac H55-ITX WiFi * Core i3 540 * 4GB RAM ** Zotac GT630 * 1 TB System HDD * 4 GB RAM * Harmony 900 * satip-Plugin

    - Client2: Alfawise H96 Pro Plus * KODI
    - Server: Intel Pentium G3220 * DH87RL * 16GB RAM * 4x4TB 3.5" WD RED + 1x500GB 2.5" * satip-Plugin
    - SAT>IP: Inverto iLNB

  • hmm ja aber sobald ich den mit systemctl start vdr starte, dann läuft das teil


    muss ich vll in der systemunit was ändern ?


    [Unit]

    Description=Video Disk Recorder


    [Service]

    Type=notify

    ExecStartPre=/bin/sh /usr/lib/vdr/merge-commands.sh "commands"

    ExecStartPre=/bin/sh /usr/lib/vdr/merge-commands.sh "reccmds"

    ExecStart=/usr/bin/vdr

    Restart=on-failure

    RestartPreventExitStatus=0 2


    [Install]

    WantedBy=multi-user.target

  • Kann gut sein, dass dvbapi unbedingt ein DVB-Gerät haben will, dann müsste man den Start des VDR verzögern, bis alle Tuner da sind. Dafür könnte man so eine Systemd-Unit nutzen:

    Die muss man dann für alle DVB-Adapter aktivieren, also für /dev/dvb/adapter0 dann z.B. (es sei denn du hast Sundtek-Sticks, da muss man den mediasrv überzeugen auf die Geräte zu warten, weil es keine Udev-Events für die Adapter gibt):

    sudo vdrctl enable wait-for-dvb-devices@0.service

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Nimm doch das Sundtek Plugin und dynamite...

    Mfg Stefan

    Test-VDR1: HP rp5700 Fertigsystem, Core2Duo E6400, 2GB RAM, FF-SD C-2300, nvidia Slim-GT218 x1 | easyVDR 2.0 64Bit
    VDR3: in Rente

    VDR4: MSI G31M2 v2, Digitainer2-Geh., t6963c 6" gLCD, E5200, 2GB, 3TB WD Red, GT730, 2x TT S2-3200; easyVDR 3.5 64bit
    VDR5: Gigabyte
    GA-G31M-S2L, Intel E2140, Zotac GT730 passiv, Digitainer2-Geh., t6963c 6 " gLCD, 2 TB WD Red, 2x TT S2-3200 (an 1 Kabel) easyVDR 3.5 64bit
    VDR6:
    Intel E5200, GT630 passiv, F1 750 GB, t6963c gLCD, 2x TT S2-3200 | easyVDR 3.5 64bit
    VDR-User #1068
    www.easy-vdr.de

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!