1. 20 May, 2019 2 commits
    • Max Kellermann's avatar
      player/Thread: fix "single" mode race condition · 923e6673
      Max Kellermann authored
      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
      923e6673
    • Max Kellermann's avatar
      player/Thread: remove unnecessary "pipe" check · ff3e2c05
      Max Kellermann authored
      The "queued" flag can only possibly be set if the decoder is still
      decoding the current song or if the decoder is stopped.  This is also
      what the following assert() checks.  This check was not necessary.
      ff3e2c05
  2. 17 May, 2019 1 commit
  3. 16 May, 2019 3 commits
  4. 13 May, 2019 7 commits
  5. 04 May, 2019 2 commits
  6. 03 May, 2019 2 commits
  7. 23 Apr, 2019 4 commits
  8. 18 Apr, 2019 5 commits
  9. 10 Apr, 2019 6 commits
  10. 04 Apr, 2019 4 commits
  11. 03 Apr, 2019 4 commits