[mythtv-users] Samba share of mythfs.py filesystem not working

Michael T. Dean mtdean at thirdcontact.com
Sat Jan 29 03:58:16 UTC 2011


  On 01/28/2011 10:24 PM, Raymond Wagner wrote:
> On 1/28/2011 20:54, E. Westbrook wrote:
>> On Fri, Jan 28, 2011 at 08:32, Raymond Wagner  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 as a command-line argument for the event 
>> definition?  Or derive it from the 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.

Which is basically what running without --chanid/--starttime is...  It 
cleans up everything, then re-creates.

Mike


More information about the mythtv-users mailing list