From f3bcfebf25a1e25226caa8f6491db95d0b657f69 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 3 Aug 2016 11:40:48 +0200 Subject: [PATCH] fix profile selection --- pandora_client/extract.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pandora_client/extract.py b/pandora_client/extract.py index 13810ae..d83dfc7 100644 --- a/pandora_client/extract.py +++ b/pandora_client/extract.py @@ -101,15 +101,14 @@ def video_cmd(video, target, profile, info): audioquality = 6 audiobitrate = None audiochannels = None - - if profile == '720p': + elif profile == '720p': height = 720 audiorate = 48000 audioquality = 5 audiobitrate = None audiochannels = None - if profile == '480p': + elif profile == '480p': height = 480 audiorate = 44100