diff --git a/static/player/main.ts b/static/player/main.ts index 55e0491..7389454 100644 --- a/static/player/main.ts +++ b/static/player/main.ts @@ -94,6 +94,11 @@ const initPlayer = (): void => { setupAutoplayButton(); updateAutoSkipButton(); showControls(); + if (state.modeSwitchedFrom === 'dub' && state.currentMode === 'sub') { + window.showToast?.({ + message: `Episode ${state.currentEpisode} is only available in sub, switched from dub.`, + }); + } const onLoadedMetadata = (): void => { loading && (loading.style.display = 'none');