mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-14 22:50:26 +02:00
trigger stop event on queue end
This commit is contained in:
@@ -238,7 +238,7 @@ export function WebPlayer() {
|
||||
promise.then(() => {
|
||||
playerRef.current?.player1()?.ref?.getInternalPlayer().pause();
|
||||
|
||||
// If mediaAutoNext resulted in a paused state (e.g. end of queue,
|
||||
// If mediaAutoNext resulted in a stopped/paused state (e.g. end of queue,
|
||||
// or pauseOnNextSongEnd flag), stop all audio instead of restoring volume.
|
||||
const currentStatus = usePlayerStoreBase.getState().player.status;
|
||||
if (currentStatus !== PlayerStatus.PLAYING) {
|
||||
|
||||
Reference in New Issue
Block a user