Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/M4cs/pltransfer
Transfer your entire Apple Music library to Spotify!
https://github.com/M4cs/pltransfer
Last synced: 3 months ago
JSON representation
Transfer your entire Apple Music library to Spotify!
- Host: GitHub
- URL: https://github.com/M4cs/pltransfer
- Owner: M4cs
- Created: 2021-01-26T20:20:42.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-26T20:21:11.000Z (almost 4 years ago)
- Last Synced: 2024-07-04T02:11:45.683Z (4 months ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 14
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PLTransfer
A script to transfer your Apple Music/iTunes Library to Spotify
### Requirements:
- iTunes on PC
- Python 3
- Spotify Premium (For API Access)
- A Spotify Developer App### Getting Started:
First you need an access token, you need to make a Spotify Application on the developer dashboard. Then you need to setup a way to get your OAuth token. Take a look at https://github.com/M4cs/Slack-Spotify-Authentication for an example!
#### YOU NEED TO HAVE THIS SCOPE: `user-library-modify`
Next add the OAuth token you generated to `Line 7` in the `config` dictionary.
Go to iTunes and select File > Library > Export Library. Save the file as Library.xml in the same folder as the script.
Run `python3 pltransfer.py` and let it work it's magic! **It may take up to 24 hours for all songs to show depending on Spotify's API.**