┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/README.md
blob: 00c81f56a49dd3d21cebc6527f59198e931e5c30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Dlit - Download It! v1.9

It's a tiny terminal wrapper for yt-dlp. Downloading your favorite music off of YouTube should be absurdly easy. Now it is!

Paste a link at the prompt; downloads queue and run serially in the
background. Commands: :mp3, :video, :none switch the active preset.
Ctrl-D or :q to quit (lets an in-flight download finish; Ctrl-C aborts).

Currently this only supports linux, but you could easily rig this to work on windows or whatever.

Ensure you have yt-dlp installed. 

Add it to your favorite shell with alias dlit='python3 ~/Repositories/dlit/app.py', then type 'dlit' whenever you wanna download something.



v1.9: a playlist whose fan-out wouldn't fit on screen no longer prints a
queued line per entry up front, it prints a one-line summary and each
entry's line appears once, when its download starts; a job whose line
scrolled off-screen gets a fresh line above the prompt on its next status
change instead of updating invisibly, so the active download is always on
screen.

v1.8: link resolution runs off the main thread so the prompt never freezes
on a slow probe; tracked lines that scroll past the top of the screen are
untracked instead of corrupting the display; job bookkeeping is pruned
rather than growing forever; playlist truncation at PLAYLIST_LIMIT is
reported; quitting drains the queue but finishes the download in flight.