Solved vdr-vnsi crashes xbmc
#1
Hi,

I've tried out the rc2 of XBMC with VDR and vdr-vnsi. Most of it seems to work, I can see my channels (with EPG), my recordings and timers, but if I want to watch live tv xbmc is going to crash:

xbmc.log Wrote:22:48:18 T:3077822400 NOTICE: Previous line repeats 2 times.
22:48:18 T:3077822400 NOTICE: DVDPlayer: Opening: pvr://channels/tv/Alle TV-Kanäle/2.pvr
22:48:18 T:3077822400 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
22:48:18 T:2699213632 NOTICE: Thread CDVDPlayer start, auto delete: false
22:48:18 T:2699213632 NOTICE: Creating InputStream
22:48:18 T:2699213632 NOTICE: AddOnLog: VDR VNSI Client: Logged in at '1356904098+3600' to 'VDR-Network-Streaming-Interface (VNSI) Server' Version: '0.9.0' with protocol version '3'
22:48:18 T:2699213632 NOTICE: Creating Demuxer
22:48:18 T:2699213632 WARNING: CDVDMessageQueue(audio):Tongueut MSGQ_NOT_INITIALIZED
22:48:18 T:2699213632 WARNING: CDVDMessageQueue(video):Tongueut MSGQ_NOT_INITIALIZED
vdrlog.log Wrote:Dec 30 22:47:55 htpc vdr: [2757] VNSI: Requesting clients to reload channel list
Dec 30 22:47:55 htpc vdr: [2757] VNSI: Requesting clients to reload channel list
Dec 30 22:47:56 htpc vdr: [2757] VNSI: Requesting clients to reload channel list
Dec 30 22:48:18 htpc vdr: [2757] loading /etc/vdr/plugins/vnsiserver/allowed_hosts.conf
Dec 30 22:48:18 htpc vdr: [2757] VNSI: Client with ID 1 connected: 127.0.0.1:43185
Dec 30 22:48:18 htpc vdr: [2774] VNSI: Welcome client 'XBMC Media Center' with protocol version '2'
Dec 30 22:48:18 htpc vdr: [2774] VNSI-Error: Client 'XBMC Media Center' have a not allowed protocol version '2', terminating client
Dec 30 22:48:18 htpc vdr: [2774] VNSI: Creating new live Receiver
Dec 30 22:48:18 htpc vdr: [2774] VNSI: Successfully switched to channel 3 - ProSieben
Dec 30 22:48:18 htpc vdr: [2774] VNSI: Started streaming of channel ProSieben (timeout 10 seconds)
Dec 30 22:48:18 htpc vdr: [2775] cLiveStreamer stream processor thread started (pid=2736, tid=2775)
Dec 30 22:48:18 htpc vdr: [2757] VNSI: Requesting clients to reload channel list
Dec 30 22:48:18 htpc vdr: [2775] VNSI: Created stream demuxer for pid=305 and type=7
Dec 30 22:48:18 htpc vdr: [2775] VNSI: Created stream demuxer for pid=306 and type=2
Dec 30 22:48:18 htpc vdr: [2775] VNSI: Created stream demuxer for pid=311 and type=11
Dec 30 22:48:18 htpc vdr: [2757] VNSI: Requesting clients to reload channel list
Dec 30 22:48:19 htpc vdr: [2757] VNSI: Requesting clients to reload channel list
Dec 30 22:48:19 htpc vdr: [2775] VNSI: streaming of channel started
Dec 30 22:48:19 htpc vdr: [2775] VNSI: sending 12 buffered packets
Dec 30 22:48:19 htpc vdr: [2775] VNSI: sending 2 buffered packets
Dec 30 22:48:19 htpc vdr: [2775] VNSI: sending 19 buffered packets
Dec 30 22:48:19 htpc vdr: [2757] VNSI: Requesting clients to reload channel list
Dec 30 22:48:19 htpc vdr: [2761] VNSI: cxSocket::read: eof, connection closed
Dec 30 22:48:19 htpc vdr: [2774] VNSI-Error: cxSocket::read: read() error at 0/4
Dec 30 22:48:19 htpc vdr: [2775] VNSI: exit streamer thread
Dec 30 22:48:19 htpc vdr: [2775] cLiveStreamer stream processor thread ended (pid=2736, tid=2775)
Dec 30 22:48:19 htpc vdr: [2774] buffer stats: 49820 (1%) used
Dec 30 22:48:19 htpc vdr: [2757] VNSI: Client with ID 0 seems to be disconnected, removing from client list
Dec 30 22:48:19 htpc vdr: [2757] VNSI: Client with ID 1 seems to be disconnected, removing from client list

XBMC will end in such kind of a "boot loop" because it will crash all the time then:
xbmc.log Wrote:22:49:10 T:2907683648 ERROR: AddOnLog: VDR VNSI Client: ReadResult - request timed out after 3 seconds
22:49:10 T:2907683648 ERROR: AddOnLog: VDR VNSI Client: EnableStatusInterface - Can't get response packed
22:49:10 T:2907683648 ERROR: ADDON: Dll VDR VNSI Client - Client returned bad status (1) from Create and is not usable
vdrlog.log Wrote:Dec 30 22:49:07 htpc vdr: [2757] VNSI: Client with ID 5 connected: 127.0.0.1:43194
Dec 30 22:49:07 htpc vdr: [2936] VNSI: Welcome client 'XBMC Media Center' with protocol version '2'
Dec 30 22:49:07 htpc vdr: [2936] VNSI-Error: Client 'XBMC Media Center' have a not allowed protocol version '2', terminating client
Dec 30 22:49:07 htpc vdr: [2936] VNSI-Error: Clients must be logged in before sending commands! Aborting.
Dec 30 22:49:07 htpc vdr: [2757] VNSI: Client with ID 5 seems to be disconnected, removing from client list

Distribution: Fedora 17 (i686)
XBMC: 12-rc2 (self compiled)
VDR: 1.7.27
vdr-vnsi: checkout from 29-12-2012

Any help?

Sebastian
Reply
#2
There is a version mismatch. Where did you get VNSI addon and vdr-plugin-vnsiserver from? Both should be from:
https://github.com/opdenkamp/xbmc-pvr-addons

If you compile the PVR addons to a zip file, make sure that you have deleted all previous versions of the zip file. Recently I had a case where a user had an old zip file somewhere on the system and XBMC always used this instead of the new one.
Reply
#3
Indeed, I was using an older version of the xbmc addon (around rc1). I overlooked to change a script for the checkout.
I recompiled XBMC with the newest checkout of the pvr-addons and now it seems to be working fine (at least no crashes in 15 minutes). :-)

Thanks.

Sebastian
Reply

Logout Mark Read Team Forum Stats Members Help
vdr-vnsi crashes xbmc0