When I add a MP3 (for instance) and save the node, everything works great. But when I go back and edit the node the last letter from the 'genre' field is missing. So if I keep saving the node, the 'genre' field will eventually be empty.

PS. I just discovered that this is also true for the fields 'title' and 'artist'. If I look in the database (the table 'audio_metadata'). The entries are stored in the database WITH the missing last character.

Comments

xl-network’s picture

Extra info:

If I output the structure of the node before this line it is still okay, but if I output it after this line of code it has been corrupted. I hope this helps...

line 526 of audio.module
audio_invoke_audioapi('update', $node);

drewish’s picture

Status: Active » Closed (duplicate)
xl-network’s picture

Great this fixes it. It's a bug in getID3 stuff, see: http://www.getid3.org/phpBB2/viewtopic.php?t=727