Repository navigation
Version 2.0.1
Version 2.0
This release will break your code. Read the instructions below for migration.
This is the biggest release since I started working on MusadoraKit. There are three major structures now:
MCatalogfor Apple Music catalog-related methodsMLibraryfor User's library-related methodsMRecommendationsfor the recommendations
For any methods that you used with MusadoraKit, you can find them in the above structures.
For example,
MusadoraKit.catalogSong is now MCatalog.song(id:). This makes the syntax more concise and easy to read. I apologize for the time it may take you to migrate to MusadoraKit 2.0. It is worth it!
Also, I spent hundreds of hours going through Apple Music APIs that Apple Music uses and found a few that you can use with MusicKit. Unfortunately, after asking Apple's DTS, they still consider it private, and you should use it at your own risk.
I have also introduced a new MRecommendation.continuousSongs(for:limit:) method where you can empower your apps with the same recommendations that powers "autoplaying" in the official Apple Music app. Enjoy!