From 52d10f7a52747cb31d08581474d7424258655e99 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Mon, 24 Nov 2025 02:01:31 +0100 Subject: [PATCH] Remove debug text --- app/Console/Commands/FetchMovieByImdb.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/app/Console/Commands/FetchMovieByImdb.php b/app/Console/Commands/FetchMovieByImdb.php index 3a72a141d..d5239566a 100644 --- a/app/Console/Commands/FetchMovieByImdb.php +++ b/app/Console/Commands/FetchMovieByImdb.php @@ -39,18 +39,13 @@ class FetchMovieByImdb extends Command $this->info('Force fetching movie data for IMDb id: tt'.$imdbId.' ...'); // Clear all caches for this movie to force fresh data retrieval - $this->line('Clearing cached data for this movie...'); \Cache::forget('tmdb_movie_'.md5('tt'.$imdbId)); \Cache::forget('trakt_movie_'.md5($imdbId)); \Cache::forget('imdb_movie_'.md5($imdbId)); \Cache::forget('omdb_movie_'.md5($imdbId)); - $this->line('Debug: Calling updateMovieInfo()...'); - $ok = $movie->updateMovieInfo($imdbId); - $this->line('Debug: updateMovieInfo returned: '.($ok ? 'true' : 'false')); - if (! $ok) { $this->error('Failed to fetch/update movie data for tt'.$imdbId.'.'); @@ -73,11 +68,6 @@ class FetchMovieByImdb extends Command $this->line('Genre: '.($updated->genre ?? 'N/A')); $this->line('Cover: '.(($updated->cover ?? 0) == 1 ? 'Yes' : 'No')); - // Check if cover file exists - $coverPath = storage_path('covers/movies/'.$imdbId.'-cover.jpg'); - $this->line('Debug: Cover file path: '.$coverPath); - $this->line('Debug: Cover file exists: '.(file_exists($coverPath) ? 'Yes' : 'No')); - return self::SUCCESS; } }