Jam to NPR Tiny Desk concerts with downloads and streaming
Project description
tinyjam
💃🏽- jam 2 tiny desks
This is a script to download/play tiny desks in the way I like them.
Installation
Brew
If you are running MacOS & have brew install & run like this
brew tap aryakaul/formulae
brew install tinyjam
wget "https://raw.githubusercontent.com/aryakaul/tinyjam/main/arya-curated"
tinyjam -l ./arya-curated -n
PyPI
pip install tinyjam
# Ensure `mpv` and `yt-dlp` are installed on your system
wget "https://raw.githubusercontent.com/aryakaul/tinyjam/main/arya-curated"
tinyjam -l ./arya-curated -n
git
Install mpv & yt-dlp. Then,
git clone "https://github.com/aryakaul/tinyjam.git"
cd tinyjam
wget "https://raw.githubusercontent.com/aryakaul/tinyjam/main/arya-curated"
# Optional Python port dependencies
pip install loguru tqdm
# Python edition perks: structured logging, smart search, regex-driven subtitle
# downloads (manual subs only, discovered via `--list-subs`), and mpv auto-loads
# those tracks when the audio language differs.
./tinyjam -l ./arya-curated -n
Usage
➜ tinyjam -h
Jam to tiny desks with tinyjam v0.1.2!
-l,--list path to a file where every line is the name of an artist
who appeared on tiny desk. if they did multiple shows
adding the year they performed can specify this.
-o,--output path to an output directory to download video files to,
default is './jamsesh'
-n,--nodownload do not download video files, instead stream directly
from youtube
-f,--force if output directory exists + contains same # of elements as
the number of lines in list then nuke contents and
download videos again. default behavior is to assume all
files are already downloaded and play them
-j,--jobs number of parallel downloads to run (0 = auto / all cores)
-S,--subtitles preferred subtitle language/regex (manual subs are
downloaded only when the Tiny Desk audio is different;
default: en)
-c,--color flag to display videos in color
-h,--help display this help message
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
tinyjam-1.0.0.tar.gz
(32.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
tinyjam-1.0.0-py3-none-any.whl
(29.5 kB
view details)
File details
Details for the file tinyjam-1.0.0.tar.gz.
File metadata
- Download URL: tinyjam-1.0.0.tar.gz
- Upload date:
- Size: 32.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a8a509b55ea370874262a5824ccda4f5c4aef56a5b7a37abdcd0ed8fc6427c1
|
|
| MD5 |
dcd28e9a04672567136f67b7e63d3178
|
|
| BLAKE2b-256 |
7e02c6ab98aba1d399aabd61a161e2c7eaf6d9f1566367a4106ae5a6d5481c72
|
File details
Details for the file tinyjam-1.0.0-py3-none-any.whl.
File metadata
- Download URL: tinyjam-1.0.0-py3-none-any.whl
- Upload date:
- Size: 29.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10bfaf82fabe166627613f8f2e497834e22cae17d911bae49318f22c25d161c6
|
|
| MD5 |
c631eb3bf326009a89b7d5e5c6429b4f
|
|
| BLAKE2b-256 |
85313ae9932bb810571c95a26ce5bd649d403c37f0e1582eba97093be686189f
|