1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

Fix size calculator

This commit is contained in:
Maksym Pavlenko
2019-04-24 21:11:09 -07:00
parent 5046e2d7a0
commit 5cfa2918ef

View File

@ -111,6 +111,6 @@ def _get_size(video, selector, fmt, duration):
is_audio = 'audio' in fmt
if is_audio:
return [16000 if is_high else 6000] * duration
return (16000 if is_high else 6000) * duration
else:
return [350000 if is_high else 100000] * duration
return (350000 if is_high else 100000) * duration