Closed maosi100 closed 1 month ago
Im my recent commit I have replaced music-tag by mutagen for metadata transfer. Music-tag is only a wrapper for mutagen which is not maintained anymore. Using mutagen directly makes more sense. Since mutagen returns an empty dictionary when no metadata is present I had to use isinstance() in reading and writing the metadata. Same functionality as the checks with None before.
Also I added an integration test as well as the corresponding .aiff file containing metadata.
Only metadata present (= not None) in the original file is transferred into the new file as opposed to before where an empty string was transfered.