From c74298a51037d1e90c4ff7cef049dc9c1c5bbf35 Mon Sep 17 00:00:00 2001 From: Matthew Stratford Date: Thu, 28 Jan 2021 19:03:41 +0000 Subject: [PATCH] Don't tracklist the PFL channel --- src/mixer/state.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mixer/state.ts b/src/mixer/state.ts index 2bcdfac..70c2cd7 100644 --- a/src/mixer/state.ts +++ b/src/mixer/state.ts @@ -653,7 +653,8 @@ const attemptTracklist = (player: number): AppThunk => async ( if ( state.loadedItem && state.loadedItem.type === "central" && - audioEngine.players[player]?.isPlaying + audioEngine.players[player]?.isPlaying && + player !== PLAYER_PFL_ID ) { //track console.log("potentially tracklisting", state.loadedItem);