![]() Python JWTGenerator.py /path/to/key/AuthKey_SI2I3O2.p8Īpple Music is great, but you sure do miss all the great playlists people create on Spotify don't you? There's a Python script on the root of the project that can be used to generate a new token, which has two dependencies: The fastest way to get the app running is to generate your own "last resort" token and insert it on the Constants.swift file. This logic can be found on the TokenManager class, declared in AppleMusicService.swift. Currently the app has a backend to generate these tokens, and if by any chance that request fails there's a hardcoded "last resort" token in the app. The Apple Music API uses JWT (JSON Web Token) for authentication, and these tokens have an expiration date (max 6 months). ![]() Go to to create an app and fill out the client ID and client secret on SpotifyAPI.swift Apple Music ![]() The app interacts with two APIs: Spotify and Apple Music. It contains features never released to the App Store like multi-playlist import (which hasn't been extensively tested but mostly works). This is the most up to date source code for the jMusic app.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |