From 193cee5bfa8912ab83d10512e158a565b6dfa672 Mon Sep 17 00:00:00 2001 From: Matthew Stratford Date: Thu, 28 Jan 2021 19:03:25 +0000 Subject: [PATCH] Don't mark the library channel as played. --- 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 75f7f16..2bcdfac 100644 --- a/src/mixer/state.ts +++ b/src/mixer/state.ts @@ -526,7 +526,8 @@ export const load = ( dispatch(mixerState.actions.setPlayerState({ player, state: "playing" })); const state = getState().mixer.players[player]; - if (state.loadedItem != null) { + // Don't set played on PFL Channel + if (state.loadedItem != null && player !== PLAYER_PFL_ID) { dispatch( setItemPlayed({ itemId: itemId(state.loadedItem), played: true }) );