It seems that in some cases the last (few) seconds of
the song is not played at all. The next song starts
before the previous song is finished. Could this be a
buffering problem somewhere? Should there be a
configurable pause between the songs.
mpg123 probably sends the "@P 0" (playing stopped)
notification before all of the the actual sound data has
been sent to the playback device. Music Server kills the
mpg123 instance immediately after receiving the
notification and starts a new instance for the next song.
Tweaking mpg123 buffer options might provide a workaround.
Proper solution is to reuse the existing mpg123 instance
for playing the next song.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=109057
mpg123 probably sends the "@P 0" (playing stopped)
notification before all of the the actual sound data has
been sent to the playback device. Music Server kills the
mpg123 instance immediately after receiving the
notification and starts a new instance for the next song.
Tweaking mpg123 buffer options might provide a workaround.
Proper solution is to reuse the existing mpg123 instance
for playing the next song.