diff --git a/src/ytdl_sub/downloaders/ytdlp.py b/src/ytdl_sub/downloaders/ytdlp.py index 42f3d865..f1136c1e 100644 --- a/src/ytdl_sub/downloaders/ytdlp.py +++ b/src/ytdl_sub/downloaders/ytdlp.py @@ -123,7 +123,7 @@ class YTDLP: del copied_ytdl_options_overrides["download_archive"] if num_tries < cls._EXTRACT_ENTRY_NUM_RETRIES: - cls.logger.debug( + cls.logger.info( "Failed to download entry. Retrying %d / %d", num_tries, cls._EXTRACT_ENTRY_NUM_RETRIES, @@ -222,14 +222,18 @@ class YTDLP: ): cls.extract_info(ytdl_options_overrides=ytdl_options_overrides, **kwargs) except RejectedVideoReached: - cls.logger.debug( + cls.logger.info( "RejectedVideoReached, stopping additional downloads " - "(Can be disable by setting `date_range.breaking` to False)." + "(Can be disable by setting `date_range.breaks` to False. " + "If this is unexpected, " + "run with --log-level verbose to see the yt-dlp logs on why it stopped." ) except ExistingVideoReached: - cls.logger.debug( + cls.logger.info( "ExistingVideoReached, stopping additional downloads. " "(Can be disable by setting `ytdl_options.break_on_existing` to False)." + "If this is unexpected, " + "run with --log-level verbose to see the yt-dlp logs on why it stopped." ) except MaxDownloadsReached: cls.logger.info("MaxDownloadsReached, stopping additional downloads.") @@ -247,7 +251,7 @@ class YTDLP: if uploader_id in entry_ids or not (uploader_url := entry_dict.get("uploader_url")): continue - cls.logger.debug("Attempting to get parent metadata from URL %s", uploader_url) + cls.logger.info("Attempting to get parent metadata from URL %s", uploader_url) parent_dict: Optional[Dict] = None try: parent_dict = cls.extract_info( diff --git a/src/ytdl_sub/plugins/subtitles.py b/src/ytdl_sub/plugins/subtitles.py index ecf32a1d..a7a065fe 100644 --- a/src/ytdl_sub/plugins/subtitles.py +++ b/src/ytdl_sub/plugins/subtitles.py @@ -193,7 +193,7 @@ class SubtitlesPlugin(Plugin[SubtitleOptions]): """ requested_subtitles = entry.get(v.requested_subtitles, expected_type=dict) if not requested_subtitles: - logger.debug("subtitles not found for %s", entry.title) + logger.info("subtitles not found for %s", entry.title) return None file_metadata: Optional[FileMetadata] = None