Max Kellermann 923e66738c player/Thread: fix "single" mode race condition
If the decoder finishes decoding the current song between the two
IsIdle() checks, MPD stops playback instead of starting the decoder
for the next song.

This is usually not visible problem, because the main thread restarts
it via playlist::ResumePlayback(), but that way it, ignores "single"
mode.

As a workaround, this commit adds another "queued" check which
re-enters the player loop and checks again whether to start the
decoder.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/556
2019-05-20 16:22:01 +02:00
2019-02-22 12:39:59 +01:00
2019-04-10 16:37:13 +02:00
2018-11-02 18:55:49 +01:00
2018-10-31 17:59:54 +01:00
2019-05-03 20:15:33 +02:00
2014-07-14 19:04:46 +02:00
2017-05-15 23:01:49 +02:00

Music Player Daemon

http://www.musicpd.org

A daemon for playing music of various formats. Music is played through the server's audio device. The daemon stores info about all available music, and this info can be easily searched and retrieved. Player control, info retrieval, and playlist management can all be managed remotely.

For basic installation instructions read the manual.

Users

Developers

Legal

MPD is released under the GNU General Public License version 2, which is distributed in the COPYING file.

Description
music player daemon (fork)
Readme 57 MiB
Languages
C++ 94.2%
Meson 2.9%
Python 1.4%
Kotlin 0.9%
Java 0.3%
Other 0.2%