Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.
/ SpotToPhones Public archive

[OBSOLETE] Downloads tracks from a Spotify playlist via Headphones.

License

Notifications You must be signed in to change notification settings

josevh/SpotToPhones

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpotToPhones

Goal:

A program that will connect to Spotify and read tracks in a playlist of your choice. The program will then connect to your Headphones server and see if you already have that artist and album. If not, will download album and remove track from Spotify playlist. If it cannot, it will place the track on a playlist you designate.

Status: OBSOLETE

  • Broken due to closure of Echonest API link
  • No easy way to map Spotify IDs to Musicbrainz IDs.

Open to any suggestions. First real GitHub project for me. Forgive the sloppy code, still learning.

Thanks for reading!

REQUIREMENTS:

  • Requests
  • Spotipy
  • Pyen
  • Spotify developer account
  • Echonest developer account
  • Works best with Headphones VIP Musicbrainz Mirror

Setup Instructions

  1. clone repo
  2. rename config.ini.example to config.ini and edit
    • SPOTIFY
      • user * (Spotify username)
        • scope
          • (already set, allows SpotToPhones to access your playlists and their data)
        • client_id
          • (Spotify client id, provided at Spotify developer portal)
        • client_secret
          • (Spotify client secret, provided at Spotify developer portal)
        • redirect_uri
          • (Spotify redirect uri, provided at Spotify developer portal)
            • (can be localhost:8000 or whatever, it does not have to be visited, only pasted into terminal)
        • wanted_playlist
          • (name of playlist which contains tracks desired)
        • error_playlist
          • (name of playlist where tracks will be moved to on failed attempt to add to Headphones)
        • success_playlist
          • (name of playlist where tracks will be moved to on successful attempt to add to Headphones)
    • HEADPHONES
      • ip
      • port
      • webroot
      • api_key
    • ECHONEST
      • api_key
  3. Run python SpotToPhones.py
  4. Report bugs :D

About

[OBSOLETE] Downloads tracks from a Spotify playlist via Headphones.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages