Skip to content

Play LastFM music recommendations using: mpd, yt-dlp and bash

License

Notifications You must be signed in to change notification settings

polarhive/jukebox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jukebox

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"

setup

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 optionally mpdscribble (to scrobble to LastFM)
  • Activate units: systemctl --user enable --now mpd mpdscribble before running jukebox

docs/extensions

  • 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 and pacman -S sox
  • Here's my /post about jukebox.
  • Use my /dotfiles for reference.

This repo is hosted on Codeberg & mirrored to GitHub for traffic.

GPL enforced badge