A lot of my music is hard-linked to multiple places on my drive, and very rarely when updating the cover art mp3tag will break the hard-link. I was wondering if anyone else has noticed or found a workaround. files are linked with https://schinagl.priv.at/nt/hardlinkshellext/linkshellextension.html. I would rather mp3tag fail to update the tag then break the link, because the broken links are hard to find and re-link. any insight would be appreciated.
Could you elaborate why updating an internal cover should break something external in the file system?
How should MP3tag which updates the actual file know that there are links somewhere else scattered across the file system?
Maybe the cause for broken hard links is the same as for every changed MS Office file?
If a windows software manipulates a hard linked file, it can do it with in two different ways:
a) Open the file, change its content and save it back -> this will not break a hard link
b) Do it like MS Office: Open a file, create a copy as temporary file, change the content in this temporary file until you manually save it. As soon as the save process is started, the original file will be deleted - breaks the hard link! - and the temporary file will be renamed back to the original file name.
You can find a better description here.
I have no idea how Mp3tag write the changes into the files. Using a) or b)?
Case b) would explain why it occurs only when a cover is updated: the padding is not big enough, so the whole file has to be rewritten.
I do not think that this can be avoided without a modification of the workflow (i.e. link the files after the tagging has been completed).
Well that sucks. I guess I will have to write a script to automatically backup and re-link updated files. Thanks
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.