python-20 / video-downloader

A python application to download videos
GNU General Public License v3.0
10 stars 10 forks source link

GUI: How to handle Playlists #13

Open chonix opened 4 years ago

chonix commented 4 years ago

Analyze an approach for YT playlists - GUI

RyanSamman commented 4 years ago

My idea is, we make another tab for the playlist section, if you put in a URL with "playlist" in it (normal youtube playlist url after unshortening has "playlist in it"), it will move you into the new tab with all the videos, where you can select what to download and the quality of each video

checkbox

screenshot

pseudo code wise,

chonix commented 4 years ago

I like that, we can work on a mockup for that, whole GUI there. Also foolproof, if you paste a link for playlist in the single video processing, should take you to the tab for the playlist processing. But that's backend stuff (#14 ) .

RyanSamman commented 4 years ago

Should we include the higher resolution streams? it seems like it would be very hard to merge the audio and video streams if pytube hasn't done it already yet

i'm thinking, first filter off the streams that we can't just simply download (DASH streams not the progressive streams which has two streams audio & video for high quality vids): yt.streams.filter(progressive=True).all()

then, the first stream will be the best stream, use that as the default value for the GUI drop-down box

I'll add to this comment later on filtering, but we can also make a checkbox for audio only or something