Skip to content

Commit

Permalink
can flush from IDLE (streaming) because streaming track might be comp…
Browse files Browse the repository at this point in the history
…leted as well
  • Loading branch information
philippe44 committed Jan 1, 2024
1 parent 976dcd7 commit 5974b61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Slim/Player/StreamingController.pm
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ Flush =>
[ [ \&_Invalid, \&_BadState, \&_BadState, \&_Invalid], # STOPPED
[ \&_BadState, \&_Invalid, \&_Invalid, \&_BadState], # BUFFERING
[ \&_BadState, \&_Invalid, \&_Invalid, \&_BadState], # WAITING_TO_SYNC
[ \&_Invalid, \&_FlushGetNext,\&_FlushGetNext,\&_FlushGetNext], # PLAYING
[ \&_Invalid, \&_FlushGetNext,\&_FlushGetNext,\&_FlushGetNext], # PAUSED
[ \&_FlushGetNext,\&_FlushGetNext,\&_FlushGetNext,\&_FlushGetNext], # PLAYING
[ \&_FlushGetNext,\&_FlushGetNext,\&_FlushGetNext,\&_FlushGetNext], # PAUSED
],
Skip =>
[ [ \&_StopGetNext, \&_BadState, \&_BadState, \&_NoOp], # STOPPED
Expand Down

0 comments on commit 5974b61

Please sign in to comment.