Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/krayc425/applemusicbackup
A tool to backup your Apple Music library, and transfer songs from one Apple ID's library to another.
https://github.com/krayc425/applemusicbackup
apple-music apple-music-api apple-music-downloader
Last synced: 3 months ago
JSON representation
A tool to backup your Apple Music library, and transfer songs from one Apple ID's library to another.
- Host: GitHub
- URL: https://github.com/krayc425/applemusicbackup
- Owner: krayc425
- Created: 2020-09-16T06:23:25.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-02T06:56:19.000Z (almost 4 years ago)
- Last Synced: 2024-10-04T21:56:28.307Z (4 months ago)
- Topics: apple-music, apple-music-api, apple-music-downloader
- Language: Swift
- Homepage:
- Size: 194 KB
- Stars: 18
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AppleMusicBackup
This repo can help you backup your Apple Music library, and transfer them from one Apple ID to another.
# Usage
**You need to have Apple Music subscription to do following operations.**
1. Sign in you Apple ID, click **Get Songs** to fetch the list of your Apple Music library songs.
2. While in app, click **Save to File** to save a `.txt` file of a list of song ids somewhere (like iCloud Drive).
3. Sign in another Apple ID, click **Import from File** and select the file from last step to import these songs into your current library.# Steps
1. Follow steps [here](https://help.apple.com/developer-account/#/devce5522674) to generate a `MusicKit identifier` and a private `.p8` key file.
2. Install `pip` if you haven't.
3. Install these two packages.
```Sh
sudo pip install pyjwt
sudo pip install cryptography
```
4. Copy your `Developer Team ID`, `MusicKit ID` and private key in the `.p8` file into `musictoken.py`.
5. Run `python(3) musictoken.py`
6. Copy the generated token to `AppleMusicBackup/DeveloperToken.swift`.
7. Remember to generate a new token after 24 hour expiration time.
8. Install `CocoaPods` if you haven't.
9. Run `pod install`.
10. Open `AppleMusicBackup.xcworkspace`, import your `.mobileprovision` file and run.