pipelka / vdr-plugin-xvdr

DISCONTINUED - XVDR Plugin for VDR
GNU General Public License v2.0
43 stars 22 forks source link

Problem playing recoring from sleeping drive #44

Closed carsten12 closed 12 years ago

carsten12 commented 12 years ago

When I play back a recording from a headless server that will set hard drives sleeping after some minutes of non-activity, it might take some while before the stream is starting. The latest plugin/addon duo will not wat enough and simply come back without any notice.

A second try will succeed.

carsten12 commented 12 years ago

I guess it could be this occasion:

Jan 22 11:45:38 riker vdr: [11783] XVDR: Client with ID 37 connected: 192.168.7.188:60577 Jan 22 11:45:38 riker vdr: [1753] XVDR: Welcome client 'XBMC RecordingStream Receiver' with protocol version '3' Jan 22 11:45:38 riker vdr: [1753] XVDR: Preferred language: deu,ger / type: 0 Jan 22 11:45:46 riker vdr: [11783] loading /var/lib/vdr/plugins/xvdr/allowed_hosts.conf Jan 22 11:45:46 riker vdr: [11783] XVDR: Client with ID 38 connected: 192.168.7.188:60578 Jan 22 11:45:46 riker vdr: [1754] XVDR: Welcome client 'XBMC RecordingStream Receiver' with protocol version '3' Jan 22 11:45:46 riker vdr: [1754] XVDR: Preferred language: deu,ger / type: 0 Jan 22 11:45:48 riker vdr: [1753] XVDR: File 0 found, size: 12347363420, totalLength now 12347363420 Jan 22 11:45:48 riker vdr: [1753] XVDR: total frames: 385461 Jan 22 11:45:48 riker vdr: [1753] XVDR-Error: cxSocket::read: read() error at 0/4 Jan 22 11:45:48 riker vdr: [1754] XVDR: File 0 found, size: 12347363420, totalLength now 12347363420 Jan 22 11:45:48 riker vdr: [1754] XVDR: total frames: 385461 Jan 22 11:45:48 riker vdr: [1754] XVDR: openFile called for index 0 string:/var/lib/video.00/James_Bond007-_Der_Spion,_der_mich_lie/2012-01-21.23.40.1-0.rec/00001.ts Jan 22 11:45:48 riker vdr: [11783] XVDR: Client with ID 37 seems to be disconnected, removing from client list Jan 22 11:46:18 riker vdr: [1754] XVDR: file closed Jan 22 11:46:18 riker vdr: [1754] XVDR-Error: cxSocket::read: read() error at 0/4 Jan 22 11:46:18 riker vdr: [11783] XVDR: Client with ID 38 seems to be disconnected, removing from client list Jan 22 11:46:23 riker vdr: [11783] loading /var/lib/vdr/plugins/xvdr/allowed_hosts.conf Jan 22 11:46:23 riker vdr: [11783] XVDR: Client with ID 39 connected: 192.168.7.188:60579 Jan 22 11:46:23 riker vdr: [1756] XVDR: Welcome client 'XBMC RecordingStream Receiver' with protocol version '3' Jan 22 11:46:23 riker vdr: [1756] XVDR: Preferred language: deu,ger / type: 0 Jan 22 11:46:23 riker vdr: [1756] XVDR: File 0 found, size: 3865212696, totalLength now 3865212696 Jan 22 11:46:23 riker vdr: [1756] XVDR: total frames: 119377 Jan 22 11:46:23 riker vdr: [1756] XVDR: openFile called for index 0 string:/var/lib/video.00/Terra_MaX/2012-01-22.08.30.2-0.rec/00001.ts Jan 22 11:46:50 riker vdr: [1756] XVDR: file closed Jan 22 11:46:50 riker vdr: [1756] XVDR-Error: cxSocket::read: read() error at 0/4 Jan 22 11:46:50 riker vdr: [11783] XVDR: Client with ID 39 seems to be disconnected, removing from client list Jan 22 11:47:06 riker vdr: [11783] loading /var/lib/vdr/plugins/xvdr/allowed_hosts.conf Jan 22 11:47:06 riker vdr: [11783] XVDR: Client with ID 40 connected: 192.168.7.188:60580 Jan 22 11:47:06 riker vdr: [1757] XVDR: Welcome client 'XBMC RecordingStream Receiver' with protocol version '3' Jan 22 11:47:06 riker vdr: [1757] XVDR: Preferred language: deu,ger / type: 0 Jan 22 11:47:06 riker vdr: [1757] XVDR: File 0 found, size: 3865212696, totalLength now 3865212696 Jan 22 11:47:06 riker vdr: [1757] XVDR: total frames: 119377 Jan 22 11:47:06 riker vdr: [1757] XVDR: openFile called for index 0 string:/var/lib/video.00/Terra_MaX/2012-01-22.08.30.2-0.rec/00001.ts Jan 22 11:47:25 riker vdr: [1757] XVDR: file closed Jan 22 11:47:25 riker vdr: [1757] XVDR-Error: cxSocket::read: read() error at 0/4 Jan 22 11:47:26 riker vdr: [11783] XVDR: Client with ID 40 seems to be disconnected, removing from client list Jan 22 11:47:32 riker vdr: [1377] XVDR-Error: cxSocket::read: read() error at 0/4 Jan 22 11:47:32 riker vdr: [11783] XVDR: Client with ID 33 seems to be disconnected, removing from client list Jan 22 11:50:01 riker /USR/SBIN/CRON[1760]: (root) CMD (if [ -x /etc/munin/plugins/apt_all ]; then /etc/munin/plugins/apt_all update 7200 12 >/dev/null; elif [ -x /etc/munin/plugins/apt ]; then /etc/munin/plugins/apt update 7200 12 >/dev/null; fi) Jan 22 11:51:00 riker vdr: [11785] EPGSearch: timer conflict check started

carsten12 commented 12 years ago

I saw during fixing another issue that there is a timeout parameter also that I will try to use with the sleeping hard disk error, but currently, there is a recording under way. It needs to stop first, before i can try.

carsten12 commented 12 years ago

Problem gone when using a longer timeout. Nevertheless, there is no error handling when drive is not ready in time.