CLI to keep track of videos in Youtube playlists
Project description
yt-queue
CLI to keep track of videos in Youtube playlists
cli
tl;dr:
yt-queue create <name.ytq.json> <url>
yt-queue refresh <name.ytq.json>
yt-queue get-no-status <name.ytq.json>
yt-queue read-field <name.ytq.json> <video-id> <url>
yt-queue set-status <name.ytq.json> <video-id> <status>
See yt-queue -h
or yt-queue <subcommand> -h
for details.
output
Most cli subcommands' output (stdout
) is parsable. stderr
is used for logging:
get-no-status
andget-status
returns the video ids, 1 per lineread-field
returns the value of the field for the given video id
Other subcommands output should not be parsed - they contain either progress or verbose logging (including
from yt-dlp
)
development
python3 -m venv .env
source .env/bin/activate
pip install -r requirements.txt -r requirements-dev.txt
# or
pip install --editable .
pip install '.[dev]'
other dependencies: shellcheck
tests: ./check.sh
test the built packages: ./dist-check.sh dist/...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yt-queue-0.4.0.tar.gz
(9.5 kB
view hashes)
Built Distribution
yt_queue-0.4.0-py3-none-any.whl
(12.2 kB
view hashes)