quodlibet / mutagen

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

Transfer metadata tags between different audio file formats. #511

Open chincheta0815 opened 3 years ago

chincheta0815 commented 3 years ago

Hi there,

maybe I am to dumb and/or confused by reading to much in the internet: Is there a way to transfer ALL metadata (including album art) from an mp3 file to an m4a file?

Like:

  1. mp3_file = mutagen.easyid3.EasyID3('mp3file')
  2. m4a_file = mutagen.easymp4.EasyMP4('mp4file')
  3. m4a_file.update(mp3_file)
  4. m4a_file.save()

Would that work and 'convert' (rename/adapt) the tags into the correct formats? So that artist is then also the artist...

I also read something about 'raw' tags I get via mutagen.File('filename')... Maybe I have to use that?

I read something about format-agnostic, etc. Since I am no computer scientist I do not know what that means... Maybe I am wrong here, but can you give me any hint?

Best would be a GUI: Left the mp3 files (sorted), Right the m4a files (sorted to match). Transfer button of copy/paste.

If I am wrong here: Where would I be able to ask that question?

Thank you very much in advance.

JuniorJPDJ commented 3 years ago

It's probably much easier to do with this library: https://github.com/beetbox/mediafile