[mythtv-commits] Ticket #10037: Recording fails on remote file system
MythTV
noreply at mythtv.org
Mon Sep 12 07:52:20 UTC 2011
#10037: Recording fails on remote file system
-------------------------------------+-------------------------------------
Reporter: Les Noland | Owner: danielk
<lnoland@…> | Status: new
Type: Bug Report - | Milestone: unknown
General | Version: 0.24-fixes
Priority: minor | Keywords: failed recording remote
Component: MythTV - Recording | fs file system
Severity: medium |
Ticket locked: 0 |
-------------------------------------+-------------------------------------
I recently added a firewire connection to a STB to my mythtv setup. The
STB is connected to my HTPC which houses a combination front end and slave
back end. If I watch it in LiveTV it seems to work pretty reliably.
If I hit R (Record) in LiveTV, it generally records the program with no
issues. If I schedule a recording on the STB, however, it is pretty hit-
or-miss as to whether it will be successful. In most cases, it will tune
the channel but will give up trying to record less than a minute later and
there will be no file associated with the recording tombstone in the Myth
"watch recorded" menu. Sometimes, going into upcoming recordings right
away and selecting "Reactivate" for the show will result in a recording
though that often fails as well. If, however, I switch to LiveTV, tune the
channel and after it locks, I enter an R, it generally will record it just
fine. I will attach an annotated log segment in which I conducted a test
illustrating the problem.
I found the following which may shed light on my problem:
[http://code.mythtv.org/trac/ticket/9895]
This is a much different problem than mine but it has the same symptoms I
am seeing. It appears that the cause of the problem in the ticket is that
in accessing remote files the files are often being returned with a slash
prepended which confused the receiving software making it impossible to
access the file. Given that I am seeing the same errors reported by the
same routines, it is likely that my problem has the same cause -- when the
slave backend attempts to access the recording file it gets a filename
with a slash prepended and fails to open the file so it shuts down the
recording.
Evidently the routine which does recording in liveTV doesn't have the same
problem. It occurred to me that this might be because the LiveTV storage
group is local to the slave backend and the problem is, apparently, only
with remote files. To test this, I defined, on my slave backend, a
default storage group which only includes local directories. Since doing
that, recordings from the STB have been working flawlessly. This is not
ideal, however, since it limits storage-balancing allowing the local
storage to run out of space even when there is plently of space available
in remote storage groups.
Though the ticket cited above is "closed" I don't know if that has any
bearing on this issue since the problem areas were different so that fix
may only be relevant to that problem.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10037>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list