[mythtv-commits] Ticket #334: Update mythlink.pl to work with the
new filenames
MythTV
mythtv at cvs.mythtv.org
Wed Sep 14 00:31:34 UTC 2005
#334: Update mythlink.pl to work with the new filenames
----------------------------------------------+-----------------------------
Reporter: sphery <mtdean at thirdcontact.com> | Owner: xris
Type: patch | Status: new
Priority: minor | Milestone:
Component: mythtv | Version:
Severity: low | Cc: |
----------------------------------------------+-----------------------------
The attached patch updates mythlink.pl to work with the new filename
format in use after changeset [7240].
I also moved the block that deletes existing links until after the query
was executed and columns were bound. I had heard reports of Samba copies
failing on a machine using mythlink.pl in a cron job with the error saying
the file does not exist. It seems that when the links were deleted before
the query was executed, there was enough of a delay to significantly
increase the chance of failure due to bad timing of starts when copying a
block of files. I haven't proven that this fixes the problem, but it
shouldn't hurt.
I haven't yet started trying to re-incorporate your illegal filename
character substitution with positive lookahead. I'll post the improved
substitution code in another ticket (probably won't get a chance to work
on it until tomorrow).
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/334>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list