mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Remove debug text
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user