Skip to content

schollz/playlistfromsong

Repository files navigation

playlistfromsong

Documentation Status Updates

Generate an offline playlist from a single song.

Features

  • Similar song matching using last.fm or Spotify
  • Automatic downloading of songs
  • Builtin music server for webhooks

Quickstart

First install ffmpeg:

sudo apt-get install ffmpeg    (DEBIAN)
brew install ffmpeg            (MAC)

Install with pip:

pip install playlistfromsong

Download a playlist of 5 songs similar to Miles Davis' Blue In Green:

playlistfromsong --song 'Miles Davis Blue In Green' --num 5 -f /path/to/save
Demo1

Use a bearer token --bearer to use Spotify to find suggestions:

playlistfromsong --song 'Miles Davis Blue In Green' --num 5 -f /path/to/save -b 'BEARER'
Demo1

For more complete usage, see the docs.