[mythtv-users] Samba share of mythfs.py filesystem not working
raymond at wagnerrp.com
Sat Jan 29 03:24:45 UTC 2011
On 1/28/2011 20:54, E. Westbrook wrote:
> On Fri, Jan 28, 2011 at 08:32, Raymond Wagner <raymond at wagnerrp.com
> <mailto:raymond at wagnerrp.com>> wrote:
> Yes there is, but the event only provides the channel ID and start
> time. There is not enough information to reconstruct the filename
> to know which link to delete.
> Wouldn't it be sufficient to determine the filename to pass the format
> string to mythlink.pl <http://mythlink.pl> as a command-line argument
> for the event definition? Or derive it from the mytlink.pl
> <http://mytlink.pl> config?
To be honest, I don't know how that would work. When the system event
is sent to the connected machines, only the chanid and starttime is
defined. Normally, the machine can then look up the recording to pass
on to the registered command, but if the recording has been deleted,
there will be nothing to look up. The easiest option would probably be
to just have a 'cleanup' mode, where it scans the directory, and removes
any dead symlinks.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mythtv-users