[postprocessor/embedthumbnail] Detect libatomicparsley.so

This commit is contained in:
pukkandan 2022-08-09 05:30:11 +05:30
parent c220d9efc8
commit b5e9a641f5
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39

View file

@ -139,7 +139,8 @@ class EmbedThumbnailPP(FFmpegPostProcessor):
if not success: if not success:
success = True success = True
atomicparsley = next(( atomicparsley = next((
x for x in ['AtomicParsley', 'atomicparsley'] # libatomicparsley.so : See https://github.com/xibr/ytdlp-lazy/issues/1
x for x in ['AtomicParsley', 'atomicparsley', 'libatomicparsley.so']
if check_executable(x, ['-v'])), None) if check_executable(x, ['-v'])), None)
if atomicparsley is None: if atomicparsley is None:
self.to_screen('Neither mutagen nor AtomicParsley was found. Falling back to ffmpeg') self.to_screen('Neither mutagen nor AtomicParsley was found. Falling back to ffmpeg')