mirror of
https://github.com/9001/copyparty.git
synced 2026-02-19 11:54:58 -05:00
more aggressively try ffmpeg when mutagen fails
This commit is contained in:
@@ -418,7 +418,8 @@ class MTag(object):
|
||||
|
||||
try:
|
||||
md = mutagen.File(fsenc(abspath), easy=True)
|
||||
x = md.info.length
|
||||
if not md.info.length and not md.info.codec:
|
||||
raise Exception()
|
||||
except Exception as ex:
|
||||
return self.get_ffprobe(abspath) if self.can_ffprobe else {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user