Opened 18 years ago

Closed 18 years ago

#1661 closed defect (duplicate)

the transcodes does not deal with symlinks properly

Reported by: ajlill@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version:
Severity: medium Keywords:
Cc: Ticket locked: no

Description

If you try to transcode a recording that's really a symlink to another directory, it replaces the symink with the transcoded file, and leaves the original "lost" on the other directory. This patch dereferences the symlink so the new file is in the same directory as the original, and so the replacement works properly, and also fixes the symlink when the file gets renamed.

Attachments (1)

symlinks.patch (2.9 KB) - added by ajlill@… 18 years ago.

Download all attachments as: .zip

Change History (2)

Changed 18 years ago by ajlill@…

Attachment: symlinks.patch added

comment:1 Changed 18 years ago by cpinkham

Resolution: duplicate
Status: newclosed

Doesn't apply to current SVN since I moved a lot of the logic from jobqueue.cpp to inside mythtranscode. I'm also going to use another version of this patch in #1747 which honors the DeletesFollowLinks? setting so I'm closing this ticket.

Note: See TracTickets for help on using tickets.