I can't set image thumbnails for mp3 files using eyed3 module in Python. I try next script:
import eyed3
from eyed3.id3.frames import ImageFrame
th = 'url_to_my_pic'
file = 'to_mp3_pleer/file.mp3'
audiofile = eyed3.load(file)
audiofile.initTag()
audiofile.tag.frames = ImageFrame(image_url=th)
audiofile.tag.save()
But this do nothing with thumbnails in my file. In google no information about settings thumbnails using eyed3. How can I set it?
After several hours learning of eyeD3, googling and experimenting with file cover, I think, I have a solution for you.
You need to follow these rules:
cover);I'll give you an example of code, which works fine on my Windows 10 (should works on other platforms as well):
Credits: My code is based on several pages: 1, 2, 3