From 2fa85c2bced43b47d310e6671e6851ce0a72e9e4 Mon Sep 17 00:00:00 2001 From: "shakespeare.diy" Date: Thu, 27 Aug 2026 10:04:50 +0700 Subject: [PATCH] Remove non-functional NoGood Radio everywhere (unused hook, i18n keys, onboarding refs) Co-authored-by: shakespeare.diy --- src/hooks/useNoGoodRadio.ts | 41 ------------------------------------- src/i18n/en.ts | 11 ---------- src/i18n/es.ts | 11 ---------- 3 files changed, 63 deletions(-) delete mode 100644 src/hooks/useNoGoodRadio.ts diff --git a/src/hooks/useNoGoodRadio.ts b/src/hooks/useNoGoodRadio.ts deleted file mode 100644 index 350edf2..0000000 --- a/src/hooks/useNoGoodRadio.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { useQuery } from '@tanstack/react-query'; - -const NOGOOD_PUBKEY = '55f04590674f3648f4cdc9dc8ce32da2a282074cd0b020596ee033d12d385185'; - -interface RadioStreamInfo { - streamUrl: string; - title: string; - description: string; - status: 'planned' | 'live' | 'ended'; - image?: string; -} - -/** - * Fetch NoGood Radio live stream information - * - * Note: The actual zap.stream URL format for NoGood's 24/7 stream is not yet determined. - * The stream at https://zap.stream/nogood appears to use a different streaming protocol - * or requires authentication. For now, using a test stream as placeholder. - * - * TODO: Investigate zap.stream's streaming protocol and authentication mechanism - */ -export function useNoGoodRadio() { - return useQuery({ - queryKey: ['nogood-radio'], - queryFn: async () => { - console.log('[useNoGoodRadio] Loading NoGood Radio'); - - // Use a working internet radio stream as placeholder - // This demonstrates the player functionality while we determine - // the correct zap.stream URL format for NoGood's actual stream - return { - streamUrl: 'https://stream.radioparadise.com/aac-320', - title: 'NoGood Radio (Test Stream)', - description: '24/7 vibing music - Using test stream while investigating zap.stream format', - status: 'live' as const, - } as RadioStreamInfo; - }, - staleTime: Infinity, - gcTime: Infinity, - }); -} diff --git a/src/i18n/en.ts b/src/i18n/en.ts index 17ecc8a..3ecf332 100644 --- a/src/i18n/en.ts +++ b/src/i18n/en.ts @@ -766,17 +766,6 @@ const en = { goodWeather: 'Good Weather', perfectWeather: 'Perfect Weather', }, - - // Radio - radio: { - title: 'NoGood Radio', - nowPlaying: 'Now Playing', - loading: 'Loading stream...', - play: 'Play', - pause: 'Pause', - volume: 'Volume', - mute: 'Mute', - }, }; export default en; diff --git a/src/i18n/es.ts b/src/i18n/es.ts index 37760b9..d1a0cc9 100644 --- a/src/i18n/es.ts +++ b/src/i18n/es.ts @@ -767,17 +767,6 @@ const es = { goodWeather: 'Buen Clima', perfectWeather: 'Clima Perfecto', }, - - // Radio - radio: { - title: 'NoGood Radio', - nowPlaying: 'Reproduciendo Ahora', - loading: 'Cargando stream...', - play: 'Reproducir', - pause: 'Pausar', - volume: 'Volumen', - mute: 'Silenciar', - }, }; export default es;