nicfit / eyeD3

eyeD3 is a Python module and command line program for processing ID3 tags. Information about mp3 files (i.e bit rate, sample frequency, play time, etc.) is also provided. The formats supported are ID3v1 (1.0/1.1) and ID3v2 (2.3/2.4).
http://eyed3.nicfit.net/
GNU General Public License v3.0
532 stars 58 forks source link

Cannot add mood #582

Closed ScribbleGhost closed 1 year ago

ScribbleGhost commented 1 year ago

This is a fantastic module. Thanks! 😁

How can I add a mood TMOO using the python module?

I couldn't find it in the docs. And I have been struggling with this for a while. 😥

nicfit commented 1 year ago

Hello @ScribbleGhost , eyeD3 has a generic option for tags that are not "common". This works for me:

eyeD3 --text-frame TMOO:Happy ./test.mp3
ScribbleGhost commented 1 year ago

Thanks. I ended up using the mutagen library instead. Also, that code is just for the CLI, right? I am using a Python script.