Add YouTube provider

This commit is contained in:
hlohaus 2025-07-14 08:49:12 +02:00
parent 89a45f38b6
commit c718011cb8
5 changed files with 138 additions and 1 deletions

View file

@ -758,7 +758,7 @@ class Api:
if m:
return int(m.group(0))
else:
raise ValueError("No timestamp found in filename")
return 0
target = os.path.join(get_media_dir(), os.path.basename(filename))
if thumbnail and has_pillow:
thumbnail_dir = os.path.join(get_media_dir(), "thumbnails")