Remove non-functional NoGood Radio everywhere (unused hook, i18n keys, onboarding refs)

Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
This commit is contained in:
shakespeare.diy 2026-08-27 10:04:50 +07:00
parent b5b9faeec8
commit 2fa85c2bce
3 changed files with 0 additions and 63 deletions

View file

@ -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,
});
}

View file

@ -766,17 +766,6 @@ const en = {
goodWeather: 'Good Weather', goodWeather: 'Good Weather',
perfectWeather: 'Perfect 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; export default en;

View file

@ -767,17 +767,6 @@ const es = {
goodWeather: 'Buen Clima', goodWeather: 'Buen Clima',
perfectWeather: 'Clima Perfecto', 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; export default es;