Hallo,
da die yaVDR-Pakete auf meinen X86-Maschinen gut laufen, wollte ich mal sehen ob sie für Raspian compiliert werden können. Es gibt sicher nocht einige kleine Baustellen, aber im Großen und Ganzen klappt es. Details habe ich im Wiki beschrieben.

[Announce]: yaVDR-Pakete verwenden für Raspian Jessie
-
-
Es wird einen verbesserten Script geben (einfacher), bin aber noch am testen.
-
Hallo Dieter,
vielen Dank für dein Script. Ich habe es heute mal getestet auf einen raspberrypi3. Hat soweit alles funktioniert.Funktioniert bei Dir das Addon vdr-addon-avahi-linker? Ich bekomme eine Fehlermeldung.... Hast du einen Tipp?
Code
Display More# apt-get install vdr-addon-avahi-linker Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass Sie eine unmögliche Situation angefordert haben oder, wenn Sie die Unstable-Distribution verwenden, dass einige erforderliche Pakete noch nicht erstellt wurden oder Incoming noch nicht verlassen haben. Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen: Die folgenden Pakete haben unerfüllte Abhängigkeiten: vdr-addon-avahi-linker : Hängt ab von: python3-avahi ist aber nicht installierbar E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.
-
Das Paket (https://launchpad.net/~yavdr/+archiv…0yavdr0_all.deb ) kannst du aus dem yaVDR main PPA übernehmen (das enthält nichts was von der Rechner-Architektur abhängt) - die Paketmaintainer bei Debian bzw. Ubuntu sind anscheinend noch nicht so weit, das aus dem Quelltext mit generieren zu lassen, wie das z.B. Arch Linux gemacht wird.
-
Vielen Dank seahawk1986,
hat funktioniert. Er startet nun auch, aber er "Linkt" nicht den anderen X86 YaVDR.... (/srv/vdr/video)
Wobei der X86 Yavdr den Pi sieht und zB. unter /srv/vdr/video/pi3 einmountet.Wo könnte es ier noch ein Problem geben?
Code
Display MoreMar 5 20:47:37 pi3 systemd[1]: Stopping Avahi mDNS/DNS-SD Stack... Mar 5 20:47:37 pi3 avahi-daemon[1025]: Got SIGTERM, quitting. Mar 5 20:47:37 pi3 rsyslogd-2007: action 'action 17' suspended, next retry is Sat Mar 5 20:48:07 2016 [try http://www.rsyslog.com/e/2007 ] Mar 5 20:47:37 pi3 avahi-daemon[1025]: Leaving mDNS multicast group on interface wlan0.IPv6 with address ***. Mar 5 20:47:37 pi3 avahi-daemon[1025]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.179.42. Mar 5 20:47:37 pi3 avahi-daemon[1025]: Leaving mDNS multicast group on interface eth0.IPv6 with address ***. Mar 5 20:47:37 pi3 avahi-daemon[1025]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.179.65. Mar 5 20:47:37 pi3 avahi-daemon[1025]: avahi-daemon 0.6.31 exiting. Mar 5 20:47:37 pi3 systemd[1]: Starting Avahi mDNS/DNS-SD Stack... Mar 5 20:47:37 pi3 avahi-daemon[1170]: Process 1025 died: No such process; trying to remove PID file. (/var/run/avahi-daemon//pid) Mar 5 20:47:37 pi3 avahi-daemon[1170]: Found user 'avahi' (UID 105) and group 'avahi' (GID 110). Mar 5 20:47:37 pi3 avahi-daemon[1170]: Successfully dropped root privileges. Mar 5 20:47:37 pi3 avahi-daemon[1170]: avahi-daemon 0.6.31 starting up. Mar 5 20:47:37 pi3 avahi-daemon[1170]: Successfully called chroot(). Mar 5 20:47:37 pi3 avahi-daemon[1170]: Successfully dropped remaining capabilities. Mar 5 20:47:37 pi3 avahi-daemon[1170]: Loading service file /services/udisks.service. Mar 5 20:47:37 pi3 avahi-daemon[1170]: Loading service file /services/vdr-audio.service. Mar 5 20:47:37 pi3 avahi-daemon[1170]: Loading service file /services/vdr-picture.service. Mar 5 20:47:37 pi3 avahi-daemon[1170]: Loading service file /services/vdr-vdr.service. Mar 5 20:47:37 pi3 avahi-daemon[1170]: Loading service file /services/vdr-video.service. Mar 5 20:47:37 pi3 avahi-daemon[1170]: Joining mDNS multicast group on interface wlan0.IPv6 with address ***. Mar 5 20:47:37 pi3 avahi-daemon[1170]: New relevant interface wlan0.IPv6 for mDNS. Mar 5 20:47:37 pi3 avahi-daemon[1170]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.179.42. Mar 5 20:47:37 pi3 avahi-daemon[1170]: New relevant interface wlan0.IPv4 for mDNS. Mar 5 20:47:37 pi3 avahi-daemon[1170]: Joining mDNS multicast group on interface eth0.IPv6 with address ***. Mar 5 20:47:37 pi3 avahi-daemon[1170]: New relevant interface eth0.IPv6 for mDNS. Mar 5 20:47:37 pi3 avahi-daemon[1170]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.179.65. Mar 5 20:47:37 pi3 avahi-daemon[1170]: New relevant interface eth0.IPv4 for mDNS. Mar 5 20:47:37 pi3 avahi-daemon[1170]: Network interface enumeration completed. Mar 5 20:47:37 pi3 avahi-daemon[1170]: Registering new address record for *** on wlan0.*. Mar 5 20:47:37 pi3 avahi-daemon[1170]: Registering new address record for 192.168.179.42 on wlan0.IPv4. Mar 5 20:47:37 pi3 avahi-daemon[1170]: Registering new address record for *** on eth0.*. Mar 5 20:47:37 pi3 avahi-daemon[1170]: Registering new address record for 192.168.179.65 on eth0.IPv4. Mar 5 20:47:37 pi3 avahi-daemon[1170]: Registering HINFO record with values 'ARMV7L'/'LINUX'. Mar 5 20:47:37 pi3 systemd[1]: Started Avahi mDNS/DNS-SD Stack. Mar 5 20:47:38 pi3 avahi-daemon[1170]: Server startup complete. Host name is pi3.local. Local service cookie is 3524950114. Mar 5 20:47:39 pi3 avahi-daemon[1170]: Service "Videos on pi3" (/services/vdr-video.service) successfully established. Mar 5 20:47:39 pi3 avahi-daemon[1170]: Service "Recordings on pi3" (/services/vdr-vdr.service) successfully established. Mar 5 20:47:39 pi3 avahi-daemon[1170]: Service "Pictures on pi3" (/services/vdr-picture.service) successfully established. Mar 5 20:47:39 pi3 avahi-daemon[1170]: Service "Music on pi3" (/services/vdr-audio.service) successfully established. Mar 5 20:47:39 pi3 avahi-daemon[1170]: Service "pi3" (/services/udisks.service) successfully established.
-
Kannst du mal in der /etc/avahi-linker/default.cfg den Loglevel auf DEBUG setzen und den Dienst in eine Datei loggen lassen?
Hast du die aktuelle Version des vdr-addon-avahi-linker aus main übernommen (https://launchpad.net/~yavdr/+archiv…g-archive-extra ) oder ist das eventuell noch eine ältere Version? -
Ach ja - du hast ja ein System mit systemd - da musst du dir wahrscheinlich noch die Systemd-Unit dafür holen (https://raw.githubusercontent.com/seahawk1986/ar…-linker.service) und die aktivieren. Ich hoffe mal, dass die Abhängigkeiten für die Dienste bei Debian genauso aussehen.
-
Ich nutze das Script von Dieter und dieses installiert scheinbar eine aktuelle Version:
Codedrwxr-xr-x 8 root root 4096 Mär 5 13:41 vdr-addon-avahi-linker-20160214122216unstable -rw-r--r-- 1 root root 1022 Mär 5 13:41 vdr-addon-avahi-linker_20160214122216unstable-0yavdr0~trusty_armhf.changes -rw-r--r-- 1 root root 1777 Feb 14 12:28 vdr-addon-avahi-linker_20160214122216unstable-0yavdr0~trusty.debian.tar.gz -rw-r--r-- 1 root root 1654 Feb 14 12:28 vdr-addon-avahi-linker_20160214122216unstable-0yavdr0~trusty.dsc -rw-r--r-- 1 root root 42887 Feb 14 12:28 vdr-addon-avahi-linker_20160214122216unstable.orig.tar.gz
Den Rest schaue ich mir gleich mal an. Danke
-
Hallo Uwe,
Leider habe ich den avahi-linker noch nicht im Einsatz. -
Das habe ich gesucht, werde es testen. RasPi als yaVDR Client und AVAHI-Linker.
-
Hallo,
es scheint, als wenn ihm Rechte fehlen, wenn er automatisch starten soll. Als root startet und funktioniert der avahi-linker.
Fehlt ihm ein User? (avahi?) (Es wird als Dienst zB. kein Log-File unter /tmp erzeugt, obwohl unter /tmp eigentlich jeder schreiben sollte.Es gibt zwar noch Fehler beim starten des avahi-linker, aber es passiert schon mal mehr. (als root gestartet)
Display Spoiler
Code
Display More# cat /tmp/avahi-linker.log 2016-03-06 10:57:42,838 INFO Started avahi-linker 2016-03-06 10:57:42,846 DEBUG Current Config: --------------------------------------------------------- media directory: /media VDR recordings: /srv/vdr/video autofs directory: /net Local directories: {'picture': '/srv/picture', 'audio': '/srv/audio', 'video': '/srv/video'} VDR Static remote directories: {} Media Static remote directories: {} use translations: True use fat_safe_names: True Prefix for NFS mounts: Suffix for NFS mounts: (nfs) use dbus2vdr: True SVDRP-Port: 6419 IP whitelist: [IPv4Network('0.0.0.0/0'), IPv6Network('::/0')] IP blacklist: [] Hostname: pi3 Log to file: True Logfile: /tmp/avahi-linker.log Loglevel: DEBUG 2016-03-06 10:57:42,849 DEBUG creating directory /media/Bilder/local 2016-03-06 10:57:42,850 DEBUG creating symlink from /media/Bilder/local to /srv/picture 2016-03-06 10:57:42,852 DEBUG creating directory /media/Musik/local 2016-03-06 10:57:42,853 DEBUG creating symlink from /media/Musik/local to /srv/audio 2016-03-06 10:57:42,855 DEBUG creating directory /media/Video/local 2016-03-06 10:57:42,855 DEBUG creating symlink from /media/Video/local to /srv/video 2016-03-06 10:57:42,906 DEBUG VDR not reachable 2016-03-06 10:57:43,079 DEBUG Detected service 'Videos on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:43,080 DEBUG Checking service 'Videos on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:43,082 DEBUG Detected service 'Music on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:43,083 DEBUG Checking service 'Music on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:43,085 DEBUG Detected service 'Pictures on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:43,086 DEBUG Checking service 'Pictures on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:43,088 DEBUG Detected service 'Recordings on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:43,088 DEBUG Checking service 'Recordings on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:43,091 DEBUG avahi-service resolved: Videos on wohnzimmer on wohnzimmer.local: {'subtype': 'video', 'path': '/srv/video'} 2016-03-06 10:57:43,093 DEBUG translated video to Video 2016-03-06 10:57:43,094 DEBUG creating directory /media/Video/Videos on wohnzimmer 2016-03-06 10:57:43,095 DEBUG creating symlink from /media/Video/Videos on wohnzimmer to /net/wohnzimmer/srv/video 2016-03-06 10:57:43,095 DEBUG symlink from '/net/wohnzimmer/srv/video' to '/media/Video/Videos on wohnzimmer' for 'None' already exists 2016-03-06 10:57:43,096 DEBUG avahi-service resolved: Music on wohnzimmer on wohnzimmer.local: {'subtype': 'audio', 'path': '/srv/audio'} 2016-03-06 10:57:43,096 DEBUG translated audio to Musik 2016-03-06 10:57:43,098 DEBUG creating directory /media/Musik/Music on wohnzimmer 2016-03-06 10:57:43,098 DEBUG creating symlink from /media/Musik/Music on wohnzimmer to /net/wohnzimmer/srv/audio 2016-03-06 10:57:43,098 DEBUG symlink from '/net/wohnzimmer/srv/audio' to '/media/Musik/Music on wohnzimmer' for 'None' already exists 2016-03-06 10:57:43,099 DEBUG avahi-service resolved: Pictures on wohnzimmer on wohnzimmer.local: {'subtype': 'picture', 'path': '/srv/picture'} 2016-03-06 10:57:43,100 DEBUG translated picture to Bilder 2016-03-06 10:57:43,101 DEBUG creating directory /media/Bilder/Pictures on wohnzimmer 2016-03-06 10:57:43,102 DEBUG creating symlink from /media/Bilder/Pictures on wohnzimmer to /net/wohnzimmer/srv/picture 2016-03-06 10:57:43,102 DEBUG symlink from '/net/wohnzimmer/srv/picture' to '/media/Bilder/Pictures on wohnzimmer' for 'None' already exists 2016-03-06 10:57:43,103 DEBUG avahi-service resolved: Recordings on wohnzimmer on wohnzimmer.local: {'subtype': 'vdr', 'path': '/srv/share/vdr'} 2016-03-06 10:57:43,104 DEBUG translated vdr to vdr 2016-03-06 10:57:43,106 DEBUG creating directory /media/vdr/Recordings on wohnzimmer for pi3 2016-03-06 10:57:43,106 DEBUG creating symlink from /media/vdr/Recordings on wohnzimmer for pi3 to /net/wohnzimmer/srv/share/vdr 2016-03-06 10:57:43,106 DEBUG symlink from '/net/wohnzimmer/srv/share/vdr' to '/media/vdr/Recordings on wohnzimmer for pi3' for 'Recordings_on_wohnzimmer(nfs)' already exists 2016-03-06 10:57:43,107 INFO created additional symlink for remote VDR dir 2016-03-06 10:57:43,162 DEBUG Detected service 'Videos on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:43,162 DEBUG Checking service 'Videos on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:43,164 DEBUG Detected service 'Music on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:43,165 DEBUG Checking service 'Music on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:43,167 DEBUG Detected service 'Pictures on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:43,168 DEBUG Checking service 'Pictures on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:43,170 DEBUG Detected service 'Recordings on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:43,170 DEBUG Checking service 'Recordings on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:43,172 DEBUG avahi-service resolved: Videos on wohnzimmer on wohnzimmer.local: {'subtype': 'video', 'path': '/srv/video'} 2016-03-06 10:57:43,173 DEBUG skipped share Videos on wohnzimmer on wohnzimmer.local: already used 2016-03-06 10:57:43,174 DEBUG avahi-service resolved: Music on wohnzimmer on wohnzimmer.local: {'subtype': 'audio', 'path': '/srv/audio'} 2016-03-06 10:57:43,175 DEBUG skipped share Music on wohnzimmer on wohnzimmer.local: already used 2016-03-06 10:57:43,176 DEBUG avahi-service resolved: Pictures on wohnzimmer on wohnzimmer.local: {'subtype': 'picture', 'path': '/srv/picture'} 2016-03-06 10:57:43,177 DEBUG skipped share Pictures on wohnzimmer on wohnzimmer.local: already used 2016-03-06 10:57:43,178 DEBUG avahi-service resolved: Recordings on wohnzimmer on wohnzimmer.local: {'subtype': 'vdr', 'path': '/srv/share/vdr'} 2016-03-06 10:57:43,178 DEBUG skipped share Recordings on wohnzimmer on wohnzimmer.local: already used 2016-03-06 10:57:43,361 INFO fallback to updating /srv/vdr/video/.update 2016-03-06 10:57:43,362 ERROR [Errno 2] No such file or directory 2016-03-06 10:57:43,362 INFO Create /srv/vdr/video/.update 2016-03-06 10:57:44,060 DEBUG Detected service 'Videos on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:44,060 INFO skip local service 'Videos on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:44,061 DEBUG Detected service 'Music on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:44,062 INFO skip local service 'Music on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:44,063 DEBUG Detected service 'Pictures on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:44,063 INFO skip local service 'Pictures on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:44,064 DEBUG Detected service 'Recordings on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:44,064 INFO skip local service 'Recordings on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:44,065 DEBUG Detected service 'Videos on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:44,065 INFO skip local service 'Videos on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:44,065 DEBUG Detected service 'Music on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:44,066 INFO skip local service 'Music on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:44,066 DEBUG Detected service 'Pictures on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:44,067 INFO skip local service 'Pictures on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:44,067 DEBUG Detected service 'Recordings on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 10:57:44,067 INFO skip local service 'Recordings on pi3' type '_nfs._tcp' domain 'local'
-
Als root startet und funktioniert der avahi-linker.
Mit der verlinkten Systemd-Unit startet der doch als root
Hast du die avahi-linker.service an die richtige Stelle kopiert und aktiviert? Was spuckt das Log (ich hoffe es gibt journald unter Rasbian) beim Start aus?
Wenn dbus2vdr nicht genutzt wird, sollte man das dem avahi-linker sagen. -
Mhh, hier mal die Ausgabe:
Codepi@pi3:~ $ sudo systemctl start avahi-linker.service Failed to start avahi-linker.service: Unit avahi-linker.service failed to load: No such file or directory. pi@pi3:~ $ journalctl -u avahi-linker -l --since=-1m No journal files were found. pi@pi3:~ $ sudo journalctl -u avahi-linker -l --since=-1m -- Logs begin at So 2016-03-06 10:50:28 CET, end at So 2016-03-06 11:53:16 CET. --
dbus2vdr habe ich erstmal auf false gesetzt. -
Na wenn systemd die Datei nicht findet, kann es ja nicht klappen - wo hast du die weiter oben verlinkte avahi-linker.service denn hinkopiert? Für eigene Dienste wäre das normalerweise /etc/systemd/system/avahi-linker.service
-
Diesen Post habe ich nicht gesehen, warum auch immer.
Danke.
Unter /lib/systemd/system liegen hier auch sehr viele Startscripte. Für User ist /etc/systemd/system zu nutzen, ok.Nun fehlt aber wohl noch was:
Codesudo systemctl start avahi-linker.service Failed to start avahi-linker.service: Unit nfs-client.target failed to load: No such file or directory.
Edit: habe mir jetzt das nfs-client StartScript für systemd hier geladen: https://gist.github.com/grawity/3842977
Jetzt kann ich den Dienst laden! Danke für deine Geduld. -
Aber es wird immer noch kein Verzeichnis geladen....
Hier mal das LogFile:
Display Spoiler
Code
Display More:/tmp# cat avahi-linker.log 2016-03-06 12:52:29,923 INFO Started avahi-linker 2016-03-06 12:52:29,930 DEBUG Current Config: --------------------------------------------------------- media directory: /media VDR recordings: /srv/vdr/video autofs directory: /net Local directories: {'picture': '/srv/picture', 'video': '/srv/video', 'audio': '/srv/audio'} VDR Static remote directories: {} Media Static remote directories: {} use translations: True use fat_safe_names: True Prefix for NFS mounts: Suffix for NFS mounts: (nfs) use dbus2vdr: False SVDRP-Port: 6419 IP whitelist: [IPv4Network('0.0.0.0/0'), IPv6Network('::/0')] IP blacklist: [] Hostname: pi3 Log to file: True Logfile: /tmp/avahi-linker.log Loglevel: DEBUG 2016-03-06 12:52:29,949 DEBUG VDR not reachable 2016-03-06 12:52:29,951 DEBUG Detected service 'Music on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:29,952 INFO skip local service 'Music on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:29,952 DEBUG Detected service 'Pictures on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:29,952 INFO skip local service 'Pictures on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:29,953 DEBUG Detected service 'Recordings on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:29,953 INFO skip local service 'Recordings on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:29,954 DEBUG Detected service 'Videos on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:29,954 INFO skip local service 'Videos on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:30,161 DEBUG Detected service 'Videos on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:30,162 DEBUG Checking service 'Videos on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:30,164 DEBUG Detected service 'Music on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:30,164 DEBUG Checking service 'Music on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:30,166 DEBUG Detected service 'Pictures on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:30,166 DEBUG Checking service 'Pictures on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:30,168 DEBUG Detected service 'Recordings on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:30,168 DEBUG Checking service 'Recordings on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:30,170 DEBUG avahi-service resolved: Videos on wohnzimmer on wohnzimmer.local: {'subtype': 'video', 'path': '/srv/video'} 2016-03-06 12:52:30,171 DEBUG translated video to Video 2016-03-06 12:52:30,172 DEBUG avahi-service resolved: Music on wohnzimmer on wohnzimmer.local: {'subtype': 'audio', 'path': '/srv/audio'} 2016-03-06 12:52:30,173 DEBUG translated audio to Musik 2016-03-06 12:52:30,174 DEBUG avahi-service resolved: Pictures on wohnzimmer on wohnzimmer.local: {'subtype': 'picture', 'path': '/srv/picture'} 2016-03-06 12:52:30,175 DEBUG translated picture to Bilder 2016-03-06 12:52:30,176 DEBUG avahi-service resolved: Recordings on wohnzimmer on wohnzimmer.local: {'subtype': 'vdr', 'path': '/srv/share/vdr'} 2016-03-06 12:52:30,177 DEBUG translated vdr to vdr 2016-03-06 12:52:33,188 DEBUG symlink from '/net/wohnzimmer/srv/share/vdr' to '/media/vdr/Recordings on wohnzimmer for pi3' for 'Recordings_on_wohnzimmer(nfs)' already exists 2016-03-06 12:52:33,190 DEBUG Detected service 'Videos on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:33,191 INFO skip local service 'Videos on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:33,191 DEBUG Detected service 'Music on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:33,191 INFO skip local service 'Music on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:33,192 DEBUG Detected service 'Pictures on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:33,192 INFO skip local service 'Pictures on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:33,193 DEBUG Detected service 'Recordings on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:33,193 INFO skip local service 'Recordings on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:33,193 DEBUG Detected service 'Videos on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:33,193 DEBUG Checking service 'Videos on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:33,195 DEBUG Detected service 'Music on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:33,195 DEBUG Checking service 'Music on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:33,197 DEBUG Detected service 'Pictures on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:33,198 DEBUG Checking service 'Pictures on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:33,200 DEBUG Detected service 'Recordings on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:33,201 DEBUG Checking service 'Recordings on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 12:52:33,203 DEBUG avahi-service resolved: Videos on wohnzimmer on wohnzimmer.local: {'subtype': 'video', 'path': '/srv/video'} 2016-03-06 12:52:33,204 DEBUG skipped share Videos on wohnzimmer on wohnzimmer.local: already used 2016-03-06 12:52:33,205 DEBUG avahi-service resolved: Music on wohnzimmer on wohnzimmer.local: {'subtype': 'audio', 'path': '/srv/audio'} 2016-03-06 12:52:33,205 DEBUG skipped share Music on wohnzimmer on wohnzimmer.local: already used 2016-03-06 12:52:33,206 DEBUG avahi-service resolved: Pictures on wohnzimmer on wohnzimmer.local: {'subtype': 'picture', 'path': '/srv/picture'} 2016-03-06 12:52:33,206 DEBUG skipped share Pictures on wohnzimmer on wohnzimmer.local: already used 2016-03-06 12:52:33,207 DEBUG avahi-service resolved: Recordings on wohnzimmer on wohnzimmer.local: {'subtype': 'vdr', 'path': '/srv/share/vdr'} 2016-03-06 12:52:33,208 DEBUG skipped share Recordings on wohnzimmer on wohnzimmer.local: already used 2016-03-06 12:52:34,043 DEBUG [(220, False, 'pi3 SVDRP VideoDiskRecorder 2.2.0; Sun Mar 6 12:52:34 2016; UTF-8')] 2016-03-06 12:52:34,077 ERROR 'Telnet' object has no attribute 'send_command' Traceback (most recent call last): File "/usr/bin/avahi-linker", line 156, in sendCommand return success, answer File "/usr/bin/avahi-linker", line 58, in __exit__ self.telnet.send_command('QUIT') AttributeError: 'Telnet' object has no attribute 'send_command' 2016-03-06 12:52:34,081 DEBUG could not conntect to VDR via SVDRP
Noch eine Idee was hier nicht klappt?
-
Code
2016-03-06 12:52:34,077 ERROR 'Telnet' object has no attribute 'send_command' Traceback (most recent call last): File "/usr/bin/avahi-linker", line 156, in sendCommand return success, answer File "/usr/bin/avahi-linker", line 58, in __exit__ self.telnet.send_command('QUIT')
Noch eine Idee was hier nicht klappt?Da hat sich noch ein Fehler in das Skript gemogelt - pass die /usr/bin/avahi-linker mal bitte so an: https://github.com/yavdr/vdr-addo…4e6bca011c2c070
-
Ok, Danke, habe ich angepasst. Neues Log unten.
Ich werde mal nfs manuell einmounten, vielleicht funktioniert nfs auf dem pi nicht....Display Spoiler
Code
Display More# cat avahi-linker.log 2016-03-06 13:23:33,156 INFO Started avahi-linker 2016-03-06 13:23:33,157 DEBUG Current Config: --------------------------------------------------------- media directory: /media VDR recordings: /srv/vdr/video autofs directory: /net Local directories: {'audio': '/srv/audio', 'picture': '/srv/picture', 'video': '/srv/video'} VDR Static remote directories: {} Media Static remote directories: {} use translations: True use fat_safe_names: True Prefix for NFS mounts: Suffix for NFS mounts: (nfs) use dbus2vdr: False SVDRP-Port: 6419 IP whitelist: [IPv4Network('0.0.0.0/0'), IPv6Network('::/0')] IP blacklist: [] Hostname: pi3 Log to file: True Logfile: /tmp/avahi-linker.log Loglevel: DEBUG 2016-03-06 13:23:33,158 DEBUG creating directory /media/Musik/local 2016-03-06 13:23:33,159 DEBUG creating symlink from /media/Musik/local to /srv/audio 2016-03-06 13:23:33,159 DEBUG creating directory /media/Bilder/local 2016-03-06 13:23:33,159 DEBUG creating symlink from /media/Bilder/local to /srv/picture 2016-03-06 13:23:33,160 DEBUG creating directory /media/Video/local 2016-03-06 13:23:33,160 DEBUG creating symlink from /media/Video/local to /srv/video 2016-03-06 13:23:33,181 DEBUG VDR not reachable 2016-03-06 13:23:33,183 DEBUG Detected service 'Recordings on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,184 INFO skip local service 'Recordings on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,184 DEBUG Detected service 'Pictures on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,185 INFO skip local service 'Pictures on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,185 DEBUG Detected service 'Music on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,185 INFO skip local service 'Music on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,186 DEBUG Detected service 'Videos on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,186 INFO skip local service 'Videos on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,187 DEBUG Detected service 'Recordings on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,187 DEBUG Checking service 'Recordings on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,190 DEBUG Detected service 'Pictures on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,190 DEBUG Checking service 'Pictures on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,193 DEBUG Detected service 'Music on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,193 DEBUG Checking service 'Music on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,196 DEBUG Detected service 'Videos on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,196 DEBUG Checking service 'Videos on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,198 DEBUG Detected service 'Recordings on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,199 INFO skip local service 'Recordings on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,199 DEBUG Detected service 'Pictures on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,200 INFO skip local service 'Pictures on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,200 DEBUG Detected service 'Music on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,201 INFO skip local service 'Music on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,201 DEBUG Detected service 'Videos on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,201 INFO skip local service 'Videos on pi3' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,202 DEBUG Detected service 'Recordings on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,202 DEBUG Checking service 'Recordings on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,204 DEBUG Detected service 'Pictures on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,204 DEBUG Checking service 'Pictures on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,206 DEBUG Detected service 'Music on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,206 DEBUG Checking service 'Music on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,207 DEBUG Detected service 'Videos on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,208 DEBUG Checking service 'Videos on wohnzimmer' type '_nfs._tcp' domain 'local' 2016-03-06 13:23:33,353 DEBUG avahi-service resolved: Recordings on wohnzimmer on wohnzimmer.local: {'path': '/srv/share/vdr', 'subtype': 'vdr'} 2016-03-06 13:23:33,355 DEBUG translated vdr to vdr 2016-03-06 13:23:33,357 DEBUG creating directory /media/vdr/Recordings on wohnzimmer for pi3 2016-03-06 13:23:33,358 DEBUG creating symlink from /media/vdr/Recordings on wohnzimmer for pi3 to /net/wohnzimmer/srv/share/vdr 2016-03-06 13:23:33,358 DEBUG symlink from '/net/wohnzimmer/srv/share/vdr' to '/media/vdr/Recordings on wohnzimmer for pi3' for 'Recordings_on_wohnzimmer(nfs)' already exists 2016-03-06 13:23:33,359 INFO created additional symlink for remote VDR dir 2016-03-06 13:23:33,360 DEBUG avahi-service resolved: Videos on wohnzimmer on wohnzimmer.local: {'path': '/srv/video', 'subtype': 'video'} 2016-03-06 13:23:33,361 DEBUG translated video to Video 2016-03-06 13:23:33,363 DEBUG creating directory /media/Video/Videos on wohnzimmer 2016-03-06 13:23:33,363 DEBUG creating symlink from /media/Video/Videos on wohnzimmer to /net/wohnzimmer/srv/video 2016-03-06 13:23:33,364 DEBUG symlink from '/net/wohnzimmer/srv/video' to '/media/Video/Videos on wohnzimmer' for 'None' already exists 2016-03-06 13:23:33,365 DEBUG avahi-service resolved: Music on wohnzimmer on wohnzimmer.local: {'path': '/srv/audio', 'subtype': 'audio'} 2016-03-06 13:23:33,366 DEBUG translated audio to Musik 2016-03-06 13:23:33,367 DEBUG creating directory /media/Musik/Music on wohnzimmer 2016-03-06 13:23:33,367 DEBUG creating symlink from /media/Musik/Music on wohnzimmer to /net/wohnzimmer/srv/audio 2016-03-06 13:23:33,367 DEBUG symlink from '/net/wohnzimmer/srv/audio' to '/media/Musik/Music on wohnzimmer' for 'None' already exists 2016-03-06 13:23:33,368 DEBUG avahi-service resolved: Pictures on wohnzimmer on wohnzimmer.local: {'path': '/srv/picture', 'subtype': 'picture'} 2016-03-06 13:23:33,369 DEBUG translated picture to Bilder 2016-03-06 13:23:33,370 DEBUG creating directory /media/Bilder/Pictures on wohnzimmer 2016-03-06 13:23:33,371 DEBUG creating symlink from /media/Bilder/Pictures on wohnzimmer to /net/wohnzimmer/srv/picture 2016-03-06 13:23:33,371 DEBUG symlink from '/net/wohnzimmer/srv/picture' to '/media/Bilder/Pictures on wohnzimmer' for 'None' already exists 2016-03-06 13:23:33,372 DEBUG avahi-service resolved: Recordings on wohnzimmer on wohnzimmer.local: {'path': '/srv/share/vdr', 'subtype': 'vdr'} 2016-03-06 13:23:33,373 DEBUG skipped share Recordings on wohnzimmer on wohnzimmer.local: already used 2016-03-06 13:23:33,374 DEBUG avahi-service resolved: Videos on wohnzimmer on wohnzimmer.local: {'path': '/srv/video', 'subtype': 'video'} 2016-03-06 13:23:33,374 DEBUG skipped share Videos on wohnzimmer on wohnzimmer.local: already used 2016-03-06 13:23:33,375 DEBUG avahi-service resolved: Music on wohnzimmer on wohnzimmer.local: {'path': '/srv/audio', 'subtype': 'audio'} 2016-03-06 13:23:33,376 DEBUG skipped share Music on wohnzimmer on wohnzimmer.local: already used 2016-03-06 13:23:33,376 DEBUG avahi-service resolved: Pictures on wohnzimmer on wohnzimmer.local: {'path': '/srv/picture', 'subtype': 'picture'} 2016-03-06 13:23:33,377 DEBUG skipped share Pictures on wohnzimmer on wohnzimmer.local: already used 2016-03-06 13:23:33,706 DEBUG [(220, False, 'pi3 SVDRP VideoDiskRecorder 2.2.0; Sun Mar 6 13:23:33 2016; UTF-8')] 2016-03-06 13:23:33,740 ERROR unknown encoding: 250 re-read of recordings directory triggered Traceback (most recent call last): File "/usr/bin/avahi-linker", line 156, in sendCommand return success, answer File "/usr/bin/avahi-linker", line 58, in __exit__ self.send_command('QUIT') File "/usr/bin/avahi-linker", line 62, in send_command self.telnet.write((line + '\n').encode(self.encoding)) LookupError: unknown encoding: 250 re-read of recordings directory triggered 2016-03-06 13:23:33,743 DEBUG could not conntect to VDR via SVDRP
-
-
Ich verwende aktuell UTF-8. (Wo könnte ich "VDR_CHARSET_OVERRIDE=ISO-8859-9" eintragen?)
Unter /net sieht man kein "wohnzimmer", das hat vorhin auch nicht funktioniert als root gestartet.Display Spoiler
Code# svdrpsend help | head -n1 220 pi3 SVDRP VideoDiskRecorder 2.2.0; Sun Mar 6 13:37:40 2016; UTF-8 root@pi3:/etc# ls -la /net insgesamt 4 drwxr-xr-x 2 root root 0 Mär 6 13:35 . drwxrwxrwx 23 root root 4096 Mär 6 12:24 .. root@pi3:/etc# root@pi3:/net# mkdir video mkdir: das Verzeichnis „video“ kann nicht angelegt werden: Keine Berechtigung
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!