From 001554db1a3402d8bcfdd149a243f9d61a5e4117 Mon Sep 17 00:00:00 2001 From: meeb Date: Sun, 20 Dec 2020 13:01:14 +1100 Subject: [PATCH] fix format container name, resolves #22 --- tubesync/sync/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tubesync/sync/tasks.py b/tubesync/sync/tasks.py index fd7f422..e33e674 100644 --- a/tubesync/sync/tasks.py +++ b/tubesync/sync/tasks.py @@ -315,7 +315,7 @@ def download_media(media_id): media.downloaded_audio_codec = cformat['acodec'] if cformat['vcodec']: # Combined - media.downloaded_format = vformat['format'] + media.downloaded_format = cformat['format'] media.downloaded_height = cformat['height'] media.downloaded_width = cformat['width'] media.downloaded_video_codec = cformat['vcodec']