libvorbisfile performs many redundant seeks on file open
Attempting to get ampache to send .ogg/.oga files to mpd for local replay results in either a very long delay before the file will play (180+ seconds) or in garbled output.
/var/log/apache2/access.log contains many instances of this for each .ogg file sent to mpd:
"GET /ampache/play/index.php?song=227&uid=1&sid=3d19432a90356a42dae5451c54b4d2b7&name=/Breakestra%20-%20Stand%20up.ogg HTTP/1.1" 206 3634 "-" "mpd/0.13.2"
In discussion with Karl Vollmer, the lead developer for amapche, he commented that
"it's treating the URL like a local file and trying to fseek() all over the place. If you wouldn't mind could you report a bug to the libogg people? tell them they are more then welcome to contact me if they have questions"
He can be reached at ampache.org. I would be happy to provide additional lo excerpts and other information if needed.