![]() |
Linux VDR VNSI Client connection lost - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167) +---- Forum: VDR (https://forum.kodi.tv/forumdisplay.php?fid=169) +---- Thread: Linux VDR VNSI Client connection lost (/showthread.php?tid=202665) Pages:
1
2
|
VDR VNSI Client connection lost - paskuk - 2014-08-22 Hi there, I'm having an issue, I can't solve by my own. So please try to help me! I tried to closely follow the wikis available on the web. But first things first. I downloaded and freshly installed XBMCbuntu with XBMC 13.2. Then, I installed the drivers of my Sundtek MediaTV Pro III DVB-C USB tuner, executing: wget http://www.sundtek.de/media/sundtek_netinst.sh chmod 755 sundtek_netinst.sh sudo ./sundtek_netinst.sh rm ./sundtek_netinst.sh Then I installed VDR and VNSI (according to the xbmc wiki it seemed to me the software of choice): sudo add-apt-repository ppa:yavdr/unstable-vdr sudo apt-get update sudo apt-get install vdr dvb-apps sudo apt-get install vdr-plugin-vnsiserver I did a channel search: sudo mv /var/lib/vdr/channels.conf /var/lib/vdr/channels.conf.sat sudo scan -x 0 -o vdr -a 0 /usr/share/dvb/dvb-c/de-Kabel_BW > channels.conf sudo mv channels.conf /var/lib/vdr/ started VDR: sudo vim /etc/default/vdr Enabled=1 sudo /etc/init.d/vdr start sudo /etc/init.d/vdr status and installed the respective XBMC plugin (seemingly, it wasn't packaged in xbmcbuntu) sudo apt-get install xbmc-pvr-vdr-vnsi so far so good, no errors! After having enabled the Live TV in XBMC, the first error message pops up: "VDR VNSI Client connection lost" My ~/.xbmc/temp/xbmc.log reads: 18:43:04 T:140453998151424 NOTICE: PVRManager - starting up 18:43:04 T:140453989758720 NOTICE: Thread PVRManager start, auto delete: false 18:43:04 T:140453981366016 NOTICE: Thread PVRClient start, auto delete: false 18:43:05 T:140454006544128 NOTICE: -->Python Interpreter Initialized<-- 18:43:05 T:140454888630208 NOTICE: starting zeroconf publishing 18:43:05 T:140454888630208 NOTICE: ES: Starting event server 18:43:05 T:140453607372544 NOTICE: Thread JobWorker start, auto delete: true 18:43:05 T:140453590587136 NOTICE: Thread TCPServer start, auto delete: false 18:43:05 T:140453582194432 NOTICE: Thread AlarmClock start, auto delete: false 18:43:05 T:140453598979840 NOTICE: Thread EventServer start, auto delete: false 18:43:05 T:140453598979840 NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777 18:43:05 T:140453598979840 NOTICE: UDP: Listening on port 9777 18:43:05 T:140454356162304 NOTICE: Thread RSSReader start, auto delete: false 18:43:07 T:140453981366016 ERROR: AddOnLog: VDR VNSI Client: Open - failed to connect to the backend (Connection refused) 18:43:07 T:140453981366016 ERROR: ADDON: Dll VDR VNSI Client - Client returned bad status (1) from Create and is not usable 18:43:07 T:140453981366016 WARNING: UpdateAndInitialiseClients - failed to create add-on VDR VNSI Client, status = 1 18:43:07 T:140454356162304 NOTICE: Thread AddonStatus pvr.vdr.vnsi start, auto delete: true 18:43:12 T:140453981366016 ERROR: AddOnLog: VDR VNSI Client: Open - failed to connect to the backend (Connection refused) 18:43:12 T:140453981366016 ERROR: ADDON: Dll VDR VNSI Client - Client returned bad status (1) from Create and is not usable 18:43:12 T:140453981366016 WARNING: UpdateAndInitialiseClients - failed to create add-on VDR VNSI Client, status = 1 18:43:12 T:140454356162304 NOTICE: Thread AddonStatus pvr.vdr.vnsi start, auto delete: true Any suggestions? The version numbers are vdr-plugin-vnsiserver 1:0.9.4-14trusty and xbmc-pvr-vdr-vnsi 1.9.8-14trusty Thank you so much in advance! RE: VDR VNSI Client connection lost - FernetMenta - 2014-08-22 Is vdr with vnsiserver running? please pastebin syslog of vdr machine. RE: VDR VNSI Client connection lost - paskuk - 2014-08-22 How would I determine the status of vnsiserver? /var/log/syslog reads: Aug 22 18:43:09 xbmc vdr: message repeated 169 times: [ [3493] ERROR (lirc.c,43): /var/run/lirc/lircd: No such file or directory] Aug 22 18:43:10 xbmc vdr: [3492] changing pids of channel 392 from 5631+5631=2:5632=deu@3:0:32 to 5631+5631=2:5632=deu@3,5633=eng@3:0:32 Aug 22 18:43:12 xbmc vdr: [3493] ERROR (lirc.c,43): /var/run/lirc/lircd: No such file or directory Aug 22 18:43:13 xbmc vdr: [3492] changing pids of channel 393 from 5631+5631=2:5632=deu@3:0:32 to 5631+5631=2:5632=deu@3,5633=eng@3:0:32 Aug 22 18:43:15 xbmc vdr: [3493] ERROR (lirc.c,43): /var/run/lirc/lircd: No such file or directory Aug 22 18:44:39 xbmc vdr: message repeated 28 times: [ [3493] ERROR (lirc.c,43): /var/run/lirc/lircd: No such file or directory] Aug 22 18:44:40 xbmc vdr: [4237] epg data writer thread started (pid=3487, tid=4237, prio=low) Aug 22 18:44:42 xbmc vdr: [4237] epg data writer thread ended (pid=3487, tid=4237) Aug 22 18:44:42 xbmc vdr: [3493] ERROR (lirc.c,43): /var/run/lirc/lircd: No such file or directory RE: VDR VNSI Client connection lost - FernetMenta - 2014-08-22 I might be able to tell if you posted entire syslog. RE: VDR VNSI Client connection lost - paskuk - 2014-08-22 Sorry, here we go: http://pastebin.com/tt8deTB9 RE: VDR VNSI Client connection lost - FernetMenta - 2014-08-22 Could you please increase logging level of vdr and post log again. RE: VDR VNSI Client connection lost - paskuk - 2014-08-22 I tried increasing the logging level by sudo /etc/init.d/vdr stop sudo /etc/init.d/vdr start -l 3 and /var/log/syslog reads: http://pastebin.com/BCSQxH6D RE: VDR VNSI Client connection lost - FernetMenta - 2014-08-23 not sure if the init.d script passes the parameter to actual vdr command. Note that this script is something specific to yavdr, not vdr itslef not vnsi. please post this script. RE: VDR VNSI Client connection lost - paskuk - 2014-08-23 Thank you for investigating on my issue! The content of my /etc/init.d/vdr is pasted here: http://pastebin.com/P2i4uhA4 RE: VDR VNSI Client connection lost - fritsch - 2014-08-23 It reads the param from /etc/default/vdr - there is absolutely no need to change the init script. RE: VDR VNSI Client connection lost - FernetMenta - 2014-08-23 (2014-08-23, 12:41)fritsch Wrote: It reads the param from /etc/default/vdr - there is absolutely no need to change the init script. nobody said that this script needs to be changed. I am not using it hence I don't know the content. If you do please be more constructive RE: VDR VNSI Client connection lost - FernetMenta - 2014-08-23 (2014-08-23, 12:40)paskuk Wrote: Thank you for investigating on my issue! please edit /etc/defaults/vdr and add debug logging to OPTIONS. why do you have vdr-plugin-vnsiserver 1:0.9.4-14trusty? in yavdr unstable is vdr-plugin-vnsiserver - 1.1.0~git20140723-3f11c8e-0yavdr0~trusty RE: VDR VNSI Client connection lost - paskuk - 2014-08-23 I think I had the latest versions by executing sudo add-apt-repository ppa:yavdr/unstable-vdr sudo apt-get update sudo apt-get install vdr dvb-apps vdr-plugin-vnsiserver xbmc-pvr-vdr-vnsi How can I install the unstable you were pointing out? After editing: # /etc/default/vdr # # See also /usr/share/doc/vdr/README.Debian.gz # # Change to 1 to enable vdr's init-script ENABLED=1 # Change this to 1 if you want vdr to be able to shutdown the # computer ENABLE_SHUTDOWN=0 # Options that will be passed to vdr's commandline # for example: OPTIONS="-w 15" OPTIONS="-w 60 -l 3" and executing xbmc@xbmc:~$ sudo /etc/init.d/vdr stop Stopping Linux Video Disk Recorder: vdr - seems not to be running. xbmc@xbmc:~$ sudo /etc/init.d/vdr start Starting Linux Video Disk Recorder: vdr Searching for plugins (VDR 2.1.6/2.1.6) (cache hit):. xbmc@xbmc:~$ xbmc& My /var/log/syslog looks like this: http://pastebin.com/6cPAPdfQ And after starting vdr through the init-script with "-l 3.7" /var/log/syslog continues http://pastebin.com/8P1yVM82 RE: VDR VNSI Client connection lost - FernetMenta - 2014-08-23 Quote:How can I install the unstable you were pointing out? On a test system I did exactly what you have mentioned and I got version 1.1.0 Code: sudo add-apt-repository ppa:yavdr/unstable-vdr please post output of apt-cache showpkg vdr-plugin-vnsiserver this shows the following on my system: Code: xbmc@ID99:~$ apt-cache showpkg vdr-plugin-vnsiserver also add --lirc=/dev/null to vdr options. no idea what happens here: Aug 23 14:12:31 xbmc vdr: [1894] ERROR (svdrp.c,83): Address already in use Do you have more than one instance of vdr running? RE: VDR VNSI Client connection lost - paskuk - 2014-08-23 I tried again, nothing new. Or what does 168 not upgraded mean? xbmc@xbmc:~$ sudo apt-get install vdr dvb-apps vdr-plugin-vnsiserver xbmc-pvr-vdr-vnsi Reading package lists... Done Building dependency tree Reading state information... Done dvb-apps is already the newest version. vdr-plugin-vnsiserver is already the newest version. xbmc-pvr-vdr-vnsi is already the newest version. vdr is already the newest version. The following package was automatically installed and is no longer required: firefox-locale-en Use 'apt-get autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 168 not upgraded. Next xbmc@xbmc:~$ apt-cache showpkg vdr-plugin-vnsiserver Package: vdr-plugin-vnsiserver Versions: 1:0.9.4-14trusty (/var/lib/apt/lists/ppa.launchpad.net_team-xbmc_ppa_ubuntu_dists_trusty_main_binary-amd64_Packages) (/var/lib/dpkg/status) Description Language: File: /var/lib/apt/lists/ppa.launchpad.net_team-xbmc_ppa_ubuntu_dists_trusty_main_binary-amd64_Packages MD5: af651a0ec0c4c3bc571dc245f133cf8a 1.1.0~git20140723-3f11c8e-0yavdr0~trusty (/var/lib/apt/lists/ppa.launchpad.net_yavdr_unstable-vdr_ubuntu_dists_trusty_main_binary-amd64_Packages) Description Language: File: /var/lib/apt/lists/ppa.launchpad.net_yavdr_unstable-vdr_ubuntu_dists_trusty_main_binary-amd64_Packages MD5: b164b0df206efe6ef9ddcdeeaa5d2b91 Reverse Depends: vdr-plugin-vnsiserver:i386,vdr-plugin-vnsiserver vdr-plugin-vnsiserver5,vdr-plugin-vnsiserver vdr-plugin-vnsiserver-dbg,vdr-plugin-vnsiserver 1.1.0~git20140723-3f11c8e-0yavdr0~trusty vdr-plugin-vnsiserver:i386,vdr-plugin-vnsiserver Dependencies: 1:0.9.4-14trusty - libc6 (2 2.15) libgcc1 (2 1:4.1.1) libstdc++6 (2 4.6) vdr-plugin-vnsiserver:i386 (0 (null)) 1.1.0~git20140723-3f11c8e-0yavdr0~trusty - libc6 (2 2.15) libgcc1 (2 1:4.1.1) libstdc++6 (2 4.6) vdr-abi-2.1.6-yavdr0 (0 (null)) vdr-plugin-vnsiserver:i386 (0 (null)) Provides: 1:0.9.4-14trusty - 1.1.0~git20140723-3f11c8e-0yavdr0~trusty - Reverse Provides: xbmc@xbmc:~$ LIRC is still sending error-messages, but I don't care. Would love to watch TV instead ;-0 /var/log/syslog is now http://pastebin.com/jsvTbW4f I think it's only one VDR running. xbmc@xbmc:~$ ps -e | grep vdr 3845 ? 00:00:00 runvdr 3859 ? 00:00:02 vdr xbmc@xbmc:~$ |