Skip to content

Commit

Permalink
Refactor logging statements in TorrentService
Browse files Browse the repository at this point in the history
  • Loading branch information
LimeDrive committed Oct 20, 2024
1 parent 92f75e7 commit 3721bbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stream_fusion/utils/torrent/torrent_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def __find_single_episode_file(self, file_structure, season, episode):
return max(episode_files, key=lambda file: file["size"])

def __find_full_index(self, file_structure):
self.logger.info("Starting to build full index of video files")
self.logger.debug("Starting to build full index of video files")
video_formats = {".mkv", ".mp4", ".avi", ".mov", ".flv", ".wmv", ".webm", ".mpg", ".mpeg", ".m4v", ".3gp", ".3g2",
".ogv", ".ogg", ".drc", ".gif", ".gifv", ".mng", ".avi", ".mov", ".qt", ".wmv", ".yuv", ".rm",
".rmvb", ".asf", ".amv", ".m4p", ".m4v", ".mpg", ".mp2", ".mpeg", ".mpe", ".mpv", ".mpg",
Expand Down Expand Up @@ -286,7 +286,7 @@ def __find_full_index(self, file_structure):

file_index += 1

self.logger.info(f"Full index built with {len(full_index)} video files")
self.logger.debug(f"Full index built with {len(full_index)} video files")
return full_index

def __find_movie_file(self, file_structure):
Expand Down

0 comments on commit 3721bbc

Please sign in to comment.