NextFire/apple-music-discord-rpc

trouble parsing.

o0000ol opened this issue · 3 comments

  • if CJK language is mixed with English & Number, artwork will not be displayed.
  • if asterisk included, artwork will not be displayed.

Sample

[https://music.apple.com/us/album/1584618491]
Screenshot 2023-01-26 at 5 44 31

[https://music.apple.com/us/album/1569281731]
Screenshot 2023-01-26 at 5 51 08

Solution: Change parse domain

  • solved sometime displayed incorrect artwork.
    https://tools.applemediaservices.com/api/apple-media/music/US/search.json?types=songs&limit=1&term=${album}+${artist}+${name}

Screenshot 2023-01-26 at 5 36 34


Is this API endpoint public? I can't find any documentation on the web

It should be fixed in #62. Feel free to reopen if you still encounter this issue.

The second song is fixed, but for the first one, it still fails to return a result. I've noticed that you can only get a song response from iTunes' api is to only input the song and album name are inputted, and not the artist.