diff options
Diffstat (limited to 'dlit.md')
| -rw-r--r-- | dlit.md | 38 |
1 files changed, 38 insertions, 0 deletions
@@ -0,0 +1,38 @@ +DLIt - Download It! + +A python tui wrapper for yt-dlp. + +Instead of having to remember to type yt-dlp -x --audio-format mp3 --audio-quality 0 'https://youtu.be/DXvBWE782uw?si=vgGhooy5_X0BdAPr', or use the up arrow key until I find it in my zsh history, and then clear the link arg and replace it with the next video I want to download, I wanted to make a very simple python program. + +I just want highest-quality .mp3 files of my favorite songs, and I get them from youtube using dlp if they're not on bandcamp. + +I type dlit in a terminal to open the tui (assuming I have an alias already, and if not, python ~/Documents/Repositories/dlit/app.py) + +It should open a tui with a simple input. You paste the video link like so: + +https://youtu.be/-WsmHIJ2QJY?si=-lVVj4Q4gIzSvxbF + +and it should effectively run yt-dlp -x --audio-format mp3 --audio-quality 0 (the link you just posted) + +or some variation depending on how we make this thing. + +It should download songs to Downloads. By default yt-dlp downloads to ~. + +Later on we could do a settings menu like btop has, where we press escape to see a settings block where we can configure the download folder, yt-dlp flags, etc. We'll get around to that eventually. + +Most importantly, DLIt should allow us to queue up youtube links. Typically using yt-dlp from the terminal you have to download one video at a time- our program should let us add to an ongoing queue so that I can minimize the time it takes me to get all the links ready to be downloaded. + +The queue should appear in the TUI in a 0% to 100% [ ] sort-of download progress bar. + +once that's done we need to add this to my cgit + + +Features: + +Hmm, maybe a preset system. Like you can choose between "No Preset", ".mp3", "full video" + +the default being .mp3 + +if you change a setting it goes to No Preset + + |
