quodlibet / mutagen

Python module for handling audio metadata
https://mutagen.readthedocs.io
GNU General Public License v2.0
1.56k stars 158 forks source link

Write into FLAC files via cli #576

Closed foremtehan closed 2 years ago

foremtehan commented 2 years ago

I use mid3v2 cli to write tags, But looks like it only working for mp3 files

mid3v2 --artist "Fly Away" "01 A Million Miles Away.flac"

I won't get any error but tags never written. same for m4a files.

lazka commented 2 years ago

id3 tags can be added to any file type since they are just prefixed, but ideally you would only use them on file types where this is also expected and supported by other software, otherwise you might "break" those files.

mid3v2 was mainly created to provide modern/less buggy version of id3v2. In case of flac the official codec provides a capable CLI tool already: metaflac -> https://xiph.org/flac/documentation_tools_metaflac.html