diff --git a/mobile/src/screens/PlayerScreen.tsx b/mobile/src/screens/PlayerScreen.tsx index 009f39d..3cf2f82 100644 --- a/mobile/src/screens/PlayerScreen.tsx +++ b/mobile/src/screens/PlayerScreen.tsx @@ -106,6 +106,10 @@ function useMarkSourceBroken(params: RouteParams) { // 403 NIE liczy się (auth/IP-bound → fallback proxy/WebView może uratować). function isGoneError(msg: string | undefined | null): boolean { if (!msg) return false; + // Blad certyfikatu to nie usuniety film. "Trust anchor for certification path not found" + // lapal sie na "not found", wiec 93 odtworzenia eporner w tydzien (CDN z GlobalSign R6, + // ktorego starsze Androidy nie znaja) szly jako "gone": zly komunikat i zla telemetria. + if (/SSLHandshake|CertPathValidator|Trust anchor|certificate/i.test(msg)) return false; return /\b(404|410)\b|response code:\s*4(0[14])|not found|gone/i.test(msg); }