Sound Monitor #83

Merged
thomas merged 2 commits from dev-1.0-sound-monitor-fixes into develop-1.0 2023-01-29 11:44:15 +00:00
Showing only changes of commit e9e363a13a - Show all commits

View File

@ -149,7 +149,12 @@ class SoundFile:
def read_file_info(self):
""" Read file information and metadata. """
return mutagen.File(self.path) if os.path.exists(self.path) else None
try:
if os.path.exists(self.path):
return mutagen.File(self.path)
except Exception:
pass
return None
def find_episode(self, sound, path_info):
"""