foo45 / stagger

Automatically exported from code.google.com/p/stagger
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Implement tag.picture property. #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The setter should replace all APIC frames with a single one for type=Other, 
desc=''.

>>> tag.picture = "/path/to/cover.jpg"
>>> tag.picture
'<2435 bytes of jpeg data>'
>>> tag[APIC]
 APIC(0(Other), desc='', mime='image/jpeg': 2435 bytes of jpeg data)

Alternative syntax:
>>> tag.picture = "Artist:Bob Popstar:/path/to/cover.jpg"

Original issue reported on code.google.com by Karoly.Lorentey on 30 Jun 2009 at 12:02

GoogleCodeExporter commented 8 years ago
This issue was closed by r66.

Original comment by Karoly.Lorentey on 12 Jul 2009 at 6:04