/bandcamp_tagplayer

Autoloads an MPD playlist with a Bandcamp genre or user library

Primary LanguagePythonThe UnlicenseUnlicense

ABOUT

bandcamp_tagplayer pulls songs from Bandcamp based on genre tag or username and adds them to the current MPD playlist.

The file cache is cleaned on startup, removing files older than 24 hours.

Please support the artists.

REQUIRES

  • Python 3.6+
  • MPD

INSTALL

CONFIG

  • config file: ~/.config/bandcamp_tagplayer/config
  • set cache (dir for mp3s), mpd host, port, password and music directory
  • check out config.example for all options

USAGE

  • bandcamp-tagplayer <TAG>
    • ex: bandcamp-tagplayer darkwave
  • If the genre contains spaces, hyphenate it or use quotation marks.
    • ex: bandcamp-tagplayer new-wave
    • ex: bandcamp-tagplayer 'new wave'
  • For multiple genres, separate tags by space.
    • ex: bandcamp-tagplayer dark folk france
  • Use --user to stream a user's collection.
    • bandcamp-tagplayer --user <USERNAME>