pipelka/vdr-plugin-xvdr — Issue #47: recordings on nfs share fail to play
Author: dajoe
Created: 2012-02-03 22:43:44+00:00
State: open

I run vdr 1.7.22 on a separate machine which saves the recordings to a nfs share (actually, it is a virtual machine on the same system as xbmc runs on). I use Pipelka's xbmc branch, xvdr pvr addon and vdr plugin in the latest git revision.

when I try to replay a recording, xbmc hangs until timeout and the vdr machine's log gets flooded with error messages like:

Feb 3 23:10:42 vdr vdr: [11000] XVDR: file failed to open
Feb 3 23:10:42 vdr vdr: [11000] XVDR: openFile called for index 0 string:/mnt/media_deimos/recordings/Amadeus/2011-12-25.20.13.46-0.rec/00001.ts
Feb 3 23:10:42 vdr rsyslogd-2177: imuxsock begins to drop messages from pid 10810 due to rate-limiting
Feb 3 23:10:55 vdr rsyslogd-2177: imuxsock lost 2557 messages from pid 10810 due to rate-limiting

I looked into the code and replaced the line in recordings/recplayer.c:
m_file = open(m_fileName, O_RDONLY | O_NOATIME);
with
m_file = open(m_fileName, O_RDONLY);

I don't quite understand what I did but it helped. Now it works.
It did work when vdr and xbmc were on the same system, though.

Best regards,
Johannes
.