Fix post de la qualité
This commit is contained in:
parent
5424c90e50
commit
8284267daf
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -520,7 +520,7 @@ def post_probe(api, fileid, probe_data):
|
|||
api.put_video_codec(fileid, probe_data['video'][0]['name'])
|
||||
time.sleep(1)
|
||||
if 'width' in probe_data['video'][0] and 'height' in probe_data['video'][0]:
|
||||
api.post_file_qualities(fileid, value=probe_data['video'][0]['width']+'x'+probe_data['video'][0]['height'])
|
||||
api.post_file_qualities(fileid, value=str(probe_data['video'][0]['width'])+'x'+str(probe_data['video'][0]['height']))
|
||||
time.sleep(1)
|
||||
if 'container' in probe_data:
|
||||
api.put_video_container(fileid, probe_data['container'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue