Play LastFM music recommendations using: mpd(1)
, yt-dlp(1)
and bash(1)
jukebox -g "rap"
jukebox -m "library"
jukebox -a "Drake"
jukebox -s "Never Gonna Give You Up"
git clone https://codeberg.org/polarhive/jukebox
Edit the script:
nvim jukebox
- Set your LastFM username: [default: polarhive]
- Set a preferred queue mode: [default: mix]
- recommended: discover new music based on your LastFM profile
- library: music you've scrobbled before
- mix: music you've scrobbled before + recommendations from LastFM
- Install:
mpd
,yt-dlp
,jq
and optionallympdscribble
(to scrobble to LastFM) - Activate units:
systemctl --user enable --now mpd mpdscribble
before running jukebox
- docs/stream: Stream songs to your other devices like a phone, laptop or speaker
- docs/phone: Sync your playlist queue to your phone: using
rsync
&adb
for offline-playback - charts: requires an
$api_key
- listen:
pip install vosk google-speech
andpacman -S sox
- Here's my /post about jukebox.
- Use my /dotfiles for reference.
This repo is hosted on Codeberg & mirrored to GitHub for traffic.