aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--buildozer.spec2
-rw-r--r--src/model/youload_playlist.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/buildozer.spec b/buildozer.spec
index 33bc0f7..db6d3a5 100644
--- a/buildozer.spec
+++ b/buildozer.spec
@@ -37,7 +37,7 @@ version = 1.2
# (list) Application requirements
# comma separated e.g. requirements = sqlite3,kivy
-requirements = python3,kivy,pytube,ffmpeg-python
+requirements = python3,kivy,pytube,ffmpeg,ffmpeg-python
# (str) Custom source folders for requirements
# Sets custom source for any requirements with recipes
diff --git a/src/model/youload_playlist.py b/src/model/youload_playlist.py
index 1856c64..c147041 100644
--- a/src/model/youload_playlist.py
+++ b/src/model/youload_playlist.py
@@ -44,7 +44,7 @@ class YouLoadPlayList:
# Download this fucker.
if self.download_type == "default":
- video.streams.first().download(output_path=self.folder_name, filename_prefix=filename_prefix)
+ # video.streams.first().download(output_path=self.folder_name, filename_prefix=filename_prefix)
elif self.download_type == "highest":
video.streams.get_highest_resolution().download(output_path=self.folder_name, filename_prefix=filename_prefix)
elif self.download_type == "lowest":
@@ -58,6 +58,7 @@ class YouLoadPlayList:
# Remove mp4 file.
os.remove(file_path)
+
else:
video.streams.get_by_resolution(self.download_type).download(output_path=self.folder_name, filename_prefix=filename_prefix)