klo
unread,Feb 28, 2012, 11:19:11 PM2/28/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to quod-libet-...@googlegroups.com
Hi,
I tried mutagen to get embed cover from mp3.
Package seems robust but no documentation can I found, except trivial examples
So I try to extract cover:
++++++++++++++++++++++++++++++++++++++++
from mutagen.id3 import ID3
f = ID3(<my mp3 file>).getall('APIC')
open('dump', 'wb').write(f[0].data)
========================================
This way I always get last APIC frame. Last in sense if I open mp3 with hex editor then I get last APIC frame
How do I tell mutagen I want type 3 APIC (front cover) only?
TIA