pstream is dead; long live pstream taciturnaxolotl.github.io/pstream-ng/
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

only disable source if it's fatal

Pas a39c020b 216c7832

+9 -2
+9 -2
src/pages/parts/player/PlaybackErrorPart.tsx
··· 38 38 // Mark the failed source and handle UI when a playback error occurs 39 39 useEffect(() => { 40 40 if (playbackError && currentSourceId) { 41 - // Mark this source as failed 42 - addFailedSource(currentSourceId); 41 + // Only mark source as failed for fatal errors 42 + const isFatalError = 43 + playbackError.type === "hls" 44 + ? (playbackError.hls?.fatal ?? false) 45 + : playbackError.type === "htmlvideo"; 46 + 47 + if (isFatalError) { 48 + addFailedSource(currentSourceId); 49 + } 43 50 44 51 if (!hasOpenedSettings.current && !enableAutoResumeOnPlaybackError) { 45 52 hasOpenedSettings.current = true;