rclaudio: emit embdimg

This commit is contained in:
Jean-Francois Dockes 2018-11-11 10:00:25 +01:00
parent 61ee8acbc2
commit fe7d5febf4

View File

@ -336,7 +336,7 @@ class AudioTagExtractor(RclBaseHandler):
embdimg = self._embeddedImageFormat(mutf)
if embdimg:
#self.em.rclog("Embedded image format: %s" % embdimg)
embdimg = tobytes(embdimg)
minf['embdimg'] = tobytes(embdimg)
self.em.setmimetype("text/plain")
self.em.setfield("charset", 'utf-8')