def __update_common(self):
if "<STR_LIT>" in self:<EOL><INDENT>self["<STR_LIT>"].genres = self["<STR_LIT>"].genres<EOL><DEDENT>if self.version < self._V23:<EOL><INDENT>pics = self.getall("<STR_LIT>")<EOL>mimes = {"<STR_LIT>": "<STR_LIT>", "<STR_LIT>": "<STR_LIT>"}<EOL>self.delall("<STR_LIT>")<EOL>for pic in pics:<EOL><INDENT>newpic = APIC(<EOL>encoding=pic.encoding, mime=mimes.get(pic.mime, pic.mime),<EOL>type=pic.type, desc=pic.desc, data=pic.data)<EOL>self.add(newpic)<EOL><DEDENT>self.delall("<STR_LIT>")<EOL><DEDENT>
Updates done by both v23 and v24 update