Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.
/ tunezinc Public archive

Synchronize your Google Music Playlists with Spotify

Notifications You must be signed in to change notification settings

brentc/tunezinc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TuneZinc

Synchronize your Google Music Playlists with Spotify

Installation

  1. git clone git@github.com:brentc/tunezinc.git
  2. mkvirtualenv TuneZinc
  3. pip install -r requirements.txt

Configuration

Set the following environment variables:

  • GMUSIC_PLAYLISTS a ';' separated list of playlist names you want to sync

You will need to register a Spotify application to authenticate with spotify. Go to My Applications and "Create An App":

  • Application Name: TuneZinc
  • Description: Some Description
  • Redirect URIs: http://example.com/tunezinc/

Save the app and configure the following environment variables:

  • SPOTIFY_USERNAME Your spotify username
  • SPOTIFY_CLIENT_ID Your new app's Client ID
  • SPOTIFY_CLIENT_SECRET Your new app's Client Secret

Usage

python tunezinc.py

The first time you run it, it will prompt you to OAuth authenticate with Google Music and Spotify by opening a browser, granting access and pasting the code and redirected URL back to the console respectively.

TODO

See docs/TODO for thoughts on what's missing/needed.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

  • Nov 1, 2019 - Python3 compatible, OAuth Login for GMusic API
  • Feb 7, 2016 - First working version

Credits

Brent Charbonneau

Made possible by the following awesome projects:

  • gmusicapi - an unofficial API for Google Play Music
  • Spotipy - a Python client for The Spotify Web API

License

The MIT License (MIT)

Copyright (c) 2016 Brent Charbonneau

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Synchronize your Google Music Playlists with Spotify

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages