[mythtv-commits] Ticket #1216: mythrename.pl renames symlinks while target filename stays the same - breaks 'recorded' table
MythTV
mythtv at cvs.mythtv.org
Sun Feb 5 14:07:45 UTC 2006
#1216: mythrename.pl renames symlinks while target filename stays the same -
breaks 'recorded' table
------------------------------------+---------------------------------------
Reporter: hansi.urpils at gmail.com | Owner: xris
Type: defect | Status: new
Priority: minor | Milestone:
Component: mythtv | Version: head
Severity: medium |
------------------------------------+---------------------------------------
Hi!
mythrename.pl renames my recordings just fine. However, I nfs-mounted the
recordings directory of the master backend to my slave backend (to a
separate directory) and symlinked the MBE recordings to the SBE recordings
directory.
mythrename.pl will rename these symlinks as well and change the 'basename'
field, but the file names for the recordings will stay the same on the
MBE. This effectively breaks my ability to watch the shows recorded on the
master backend since the MBE will look for the wrong filename.
I think mythrename.pl should either verify that a file name actually
belongs to the host where the script is run ('hostname' field) or not mess
with symlinks. It may be necessary/good to check it against the
'LocalHostName' in mysql.txt (if it's there), but I'm not sure if
mythbackend actually honors this setting.
It'd be nice if someone (xris? ;)) could take a look at this. I can
provide further information if needed.
Thanks in advance,
Michael 'laga' Haas
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/1216>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list