mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-22 21:16:38 +00:00
Merge branch 'meeb:main' into tcely-queues
This commit is contained in:
commit
379cafdec7
@ -236,7 +236,7 @@ def get_best_video_format(media):
|
||||
break
|
||||
if not best_match:
|
||||
for fmt in video_formats:
|
||||
# Check for codec and resolution match bot drop 60fps
|
||||
# Check for codec and resolution match but drop 60fps
|
||||
if (source_resolution == fmt['format'] and
|
||||
source_vcodec == fmt['vcodec'] and
|
||||
not fmt['is_hdr']):
|
||||
@ -294,7 +294,7 @@ def get_best_video_format(media):
|
||||
break
|
||||
if not best_match:
|
||||
for fmt in video_formats:
|
||||
# Check for codec and resolution match bot drop hdr
|
||||
# Check for codec and resolution match but drop hdr
|
||||
if (source_resolution == fmt['format'] and
|
||||
source_vcodec == fmt['vcodec'] and
|
||||
not fmt['is_60fps']):
|
||||
|
@ -237,7 +237,7 @@ class Source(models.Model):
|
||||
_('source video codec'),
|
||||
max_length=8,
|
||||
db_index=True,
|
||||
choices=list(reversed(YouTube_VideoCodec.choices[1:])),
|
||||
choices=list(reversed(YouTube_VideoCodec.choices)),
|
||||
default=YouTube_VideoCodec.VP9,
|
||||
help_text=_('Source video codec, desired video encoding format to download (ignored if "resolution" is audio only)')
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user