From 7f319982546bfe44987bbb1f3b9d7d83a276b437 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 1 Apr 2021 11:30:28 +0200 Subject: [PATCH] add 0p for audio only profile --- pandora/archive/extract.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pandora/archive/extract.py b/pandora/archive/extract.py index 70f8e254d..ebfd2ae76 100644 --- a/pandora/archive/extract.py +++ b/pandora/archive/extract.py @@ -145,6 +145,13 @@ def stream(video, target, profile, info, audio_track=0, flags={}): audioquality = -1 audiobitrate = '22k' audiochannels = 1 + elif profile == '0p': + info['video'] = [] + audiorate = 48000 + audioquality = 6 + audiobitrate = None + audiochannels = None + audio_codec = 'libopus' else: height = 96