aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authornathansmith117 <thenathansmithsmith@gmail.com>2024-03-18 04:11:40 +0000
committernathansmith117 <thenathansmithsmith@gmail.com>2024-03-18 04:11:40 +0000
commitb8f74580808f1e8c02088d4b68c39e30897c96cd (patch)
tree6fd75308b74cbbeb396845c45460b21ad8fca522 /src
parent466c75199e60541199fb958056f06ef565fdf98e (diff)
downloadyouload-b8f74580808f1e8c02088d4b68c39e30897c96cd.tar.gz
youload-b8f74580808f1e8c02088d4b68c39e30897c96cd.tar.bz2
youload-b8f74580808f1e8c02088d4b68c39e30897c96cd.zip
having a hard time with mp4 to mp3 on android
Diffstat (limited to 'src')
-rw-r--r--src/model/youload_playlist.py3
1 files changed, 2 insertions, 1 deletions
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)