🐛 autopyvideothumbnailer: thumbnail may also be a symlink

master
neingeist 11 months ago
parent 7334d6c99e
commit c53e894b5a

@ -73,7 +73,7 @@ def process(searchdir):
for video_file in video_files:
# Skip if .jpg file already exists
thumbnails_file = video_file + ".jpg"
if os.path.exists(thumbnails_file):
if os.path.lexists(thumbnails_file):
if config.verbose:
print(f"Skipping: {video_file} (thumbnails already exist)")
continue

Loading…
Cancel
Save