Major Features: - Multi-source download system (Soulseek/Lidarr with fallback) - Configurable enrichment speed control (1-5x) - Mobile touch drag support for seek sliders - iOS PWA media controls (Control Center, Lock Screen) - Artist name alias resolution via Last.fm - Circuit breaker pattern for audio analysis Critical Fixes: - Audio analyzer stability (non-ASCII, BrokenProcessPool, OOM) - Discovery system race conditions and import failures - Radio decade categorization using originalYear - LastFM API response normalization - Mood bucket infinite loop prevention Security: - Bull Board admin authentication - Lidarr webhook signature verification - JWT token expiration and refresh - Encryption key validation on startup Closes #2, #6, #9, #13, #21, #26, #31, #34, #35, #37, #40, #43
31 lines
720 B
TypeScript
31 lines
720 B
TypeScript
'use client';
|
|
|
|
import { useEffect } from 'react';
|
|
import { Button } from '@/components/ui/Button';
|
|
|
|
export default function Error({
|
|
error,
|
|
reset,
|
|
}: {
|
|
error: Error & { digest?: string };
|
|
reset: () => void;
|
|
}) {
|
|
useEffect(() => {
|
|
console.error('Route error:', error);
|
|
}, [error]);
|
|
|
|
return (
|
|
<div className="flex h-screen items-center justify-center bg-black">
|
|
<div className="text-center">
|
|
<h2 className="text-2xl font-bold text-white mb-4">
|
|
Something went wrong
|
|
</h2>
|
|
<p className="text-gray-400 mb-6">
|
|
{error.message || 'An unexpected error occurred'}
|
|
</p>
|
|
<Button onClick={reset}>Try again</Button>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|