You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In write.php in MergeExistingTagData() using array_replace_recursive() instead of array_merge_recursive() has done the trick for me - though I've only tested FLAC files.
So long as getID3 is pulling all the tags into $this->ThisFileInfo['tags'][$TagFormat] there should be no loss of data or malformation of the array as with the old code.
Sadly this bumps up version requirements to PHP 5 >= 5.3.0, PHP 7.
Apologies for putting this in as an Issue. The support forum has been closed to new registrations and I don't have time to commit new code, but thought it important to make a note given the number of issues raised on the project on this point.
The text was updated successfully, but these errors were encountered:
In write.php in MergeExistingTagData() using array_replace_recursive() instead of array_merge_recursive() has done the trick for me - though I've only tested FLAC files.
So long as getID3 is pulling all the tags into $this->ThisFileInfo['tags'][$TagFormat] there should be no loss of data or malformation of the array as with the old code.
$tag_data = array_replace_recursive($this->ThisFileInfo['tags'][$TagFormat],$tag_data);
Sadly this bumps up version requirements to PHP 5 >= 5.3.0, PHP 7.
Apologies for putting this in as an Issue. The support forum has been closed to new registrations and I don't have time to commit new code, but thought it important to make a note given the number of issues raised on the project on this point.
The text was updated successfully, but these errors were encountered: