diff --git a/ui/v2.5/src/components/Movies/MovieDetails/MovieScrapeDialog.tsx b/ui/v2.5/src/components/Movies/MovieDetails/MovieScrapeDialog.tsx index f11edf6e8c3..116f5c7a258 100644 --- a/ui/v2.5/src/components/Movies/MovieDetails/MovieScrapeDialog.tsx +++ b/ui/v2.5/src/components/Movies/MovieDetails/MovieScrapeDialog.tsx @@ -84,7 +84,9 @@ export const MovieScrapeDialog: React.FC = ( const [duration, setDuration] = useState>( new ScrapeResult( DurationUtils.secondsToString(props.movie.duration || 0), - props.scraped.duration + props.scraped.duration && !isNaN(+props.scraped.duration) + ? DurationUtils.secondsToString(parseInt(props.scraped.duration, 10)) + : undefined ) ); const [date, setDate] = useState>(