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

Mark Boyum mark at boyum.us
Sat Jan 29 04:37:20 UTC 2011

On Fri, Jan 28, 2011 at 9:58 PM, Michael T. Dean <mtdean at thirdcontact.com>wrote:

>  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
Just a thought as I am not a coder, but couldn't mythlink.pl be called when
a recording is placed into the "Deleted" group and modify the links before
the information is removed from the DB or file system?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20110128/a8f6547e/attachment.htm>

More information about the mythtv-users mailing list