diff --git a/StreamingCommunity/Lib/Downloader/HLS/segments.py b/StreamingCommunity/Lib/Downloader/HLS/segments.py index c4cff7c..f03348b 100644 --- a/StreamingCommunity/Lib/Downloader/HLS/segments.py +++ b/StreamingCommunity/Lib/Downloader/HLS/segments.py @@ -326,9 +326,10 @@ class M3U8_Segments: - type (str): Type of download: 'video' or 'audio' """ if TELEGRAM_BOT: - # Viene usato per lo screen - console.log("####") + # Viene usato per lo screen + console.log("####") + self.get_info() self.setup_interrupt_handler() diff --git a/StreamingCommunity/Lib/TMBD/tmdb.py b/StreamingCommunity/Lib/TMBD/tmdb.py index 4348be0..0647880 100644 --- a/StreamingCommunity/Lib/TMBD/tmdb.py +++ b/StreamingCommunity/Lib/TMBD/tmdb.py @@ -194,6 +194,7 @@ class TheMovieDB: """ self._cached_trending_movies = self._make_request("trending/movie/week").get("results", []) return self._cached_trending_movies + def search_movie(self, movie_name: str): """ Search for a movie by name and return its TMDB ID. diff --git a/StreamingCommunity/run.py b/StreamingCommunity/run.py index 0f43f35..8ecdfa2 100644 --- a/StreamingCommunity/run.py +++ b/StreamingCommunity/run.py @@ -145,7 +145,6 @@ def initialize(): except: console.log("[red]Error with loading github.") - def restart_script(): """Riavvia lo script con gli stessi argomenti della riga di comando.""" print("\nšŸ”„ Riavvio dello script...\n")