GNOME Bugzilla – Bug 618768
Taglib# only writes in place
Last modified: 2010-06-15 19:16:16 UTC
Currently TagLib.File always overwrites the original file on writing. We need something safer, which writes to a temp file and only overwrites the original on success.
The fix to this is probably to introduce a Save (IFileAbstraction abstraction) that will be used for saving. Save () would then simply become a method that reuses this.file_abstraction. Things to notice: we should probably only implement this for photos (for now), to keep the delta with upstream Taglib# low. We should also switch all the photo unit tests to use the new Save, to make sure the code path is tested for all file types.
Now handled in the file abstraction.