Actions
Actions copied to clipboard
Action proposal: Get loved songs
Description
Return the user's loved songs from their Music library on iOS. Not sure if this is possible. After some quick research, it seems Apple never exposed this... It seems you can only get the rating.
Stack Overflow question about it: https://stackoverflow.com/questions/48287863/how-to-get-set-loved-state-in-mpmediaitem
However, it might be possible to fetch it from the Apple Music API:
- https://developer.apple.com/documentation/applemusicapi/get_a_personal_library_song_rating
- https://developer.apple.com/documentation/applemusicapi/ratings/attributes
- https://stackoverflow.com/a/50769580/64949
Help wanted if anyone has more insight.