Is there a command to tell me what type of metadata container is using a file?
Something like: command myfile.flac saying: vorbis comment or id3v2.
Is there a command to tell me what type of metadata container is using a file?
Something like: command myfile.flac saying: vorbis comment or id3v2.
Copyright © 2021 Jogjafile Inc.
Warning: One audio file can have multiple metadata containers. So finding vorbis comment doesn't mean there is no id3 tags. Reminder: flac and ogg should be used with vorbis comment.
Vorbis comment
Flac
It will print a lot of info for each block. Here is the answer:
To install metaflac:
sudo apt install flac.Ogg
It will output something like:
To install:
sudo apt install vorbis-toolsID3
Well, the best thing I found is a python library:
mutagen. For example, in your python file you can write:Output for file with ID3 tags:
ID3 tags found: {'TIT2': TIT2(encoding=<Encoding.UTF8: 3>, text=['my new title'])}. It works also for flac files.