diff options
Diffstat (limited to 'app.py')
| -rw-r--r-- | app.py | 22 |
1 files changed, 0 insertions, 22 deletions
@@ -1,28 +1,6 @@ #!/usr/bin/env python3 -"""DLit — Download It! - -a tiny terminal wrapper for yt-dlp. - -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). - -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. - -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. -""" from __future__ import annotations - import itertools import os import queue |
