Skip to main content

Generate an offline playlist from a single song

Project description

================
playlistfromsong
================


.. image:: https://img.shields.io/pypi/v/playlistfromsong.svg
:target: https://pypi.python.org/pypi/playlistfromsong

.. image:: https://img.shields.io/travis/schollz/playlistfromsong.svg
:target: https://travis-ci.org/schollz/playlistfromsong

.. image:: https://readthedocs.org/projects/playlistfromsong/badge/?version=latest
:target: https://playlistfromsong.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

.. image:: https://pyup.io/repos/github/schollz/playlistfromsong/shield.svg
:target: https://pyup.io/repos/github/schollz/playlistfromsong/
:alt: 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)

.. _ffmpeg: https://ffmpeg.org/download.html

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

.. image:: http://i.imgur.com/ldVHZcc.gif
:target: http://i.imgur.com/ldVHZcc.gif
:alt: 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'

.. image:: http://i.imgur.com/uzEEEFh.gif
:target: http://i.imgur.com/uzEEEFh.gif
:alt: Demo1


For more complete usage, see the docs.


=======
History
=======

2.0.0 (2017-07-04)
------------------

* New ``--server`` option for starting a music server

1.0.0 (2017-06-25)
------------------

* Move to cookiecutter for improved packaging and tests

0.21.0 (2017-03-29)
------------------

* First stable release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

playlistfromsong-2.2.2.tar.gz (65.4 kB view details)

Uploaded Source

Built Distribution

playlistfromsong-2.2.2-py2.py3-none-any.whl (58.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file playlistfromsong-2.2.2.tar.gz.

File metadata

File hashes

Hashes for playlistfromsong-2.2.2.tar.gz
Algorithm Hash digest
SHA256 597bcb97a20369546fb21038baff096d04a085c7c51cd0a60290dc739be3f427
MD5 9645cf3f71d697451b1926ffe27b4575
BLAKE2b-256 1286a0bb5e36f80dff2d71976ccd5210026e458245ede7d78cc643bd46337a94

See more details on using hashes here.

File details

Details for the file playlistfromsong-2.2.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for playlistfromsong-2.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1d97023053b26ce57e6ced311904a8bb1ec183ba83a635017cb5f1917840b5a1
MD5 4ffd8ba6746e23646dabd83a8aeb83f1
BLAKE2b-256 f18edc02a00fc838e1dffb62622148afcc282ba76039202dec6e378fa20910c5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page