Ampache m4a Track Numbers Fix
Posted by Dave Eddy on Jun 25 2010I found a problem with Ampache when retrieving the track numbers for m4a files. I found a quick hack here that can fix this problem, and allow Ampache to get the actual track number for each song, rather than saying that every song has a track number of 0. http://ampache.org/forums/viewtopic.php?f=2&t=1348
For those who just want the code, you have to edit {ampachewebdir}/lib/class/vainfo.php
.
Open this file, and find the get_info()
function, and paste this at the bottom above
the line unset($this->_raw);
.