Closed n-1-c-k-y closed 9 months ago
It's been an issue since June.
Its very hard to remove the correct artist as using LastFM's correction API doesn't help because other services have already scrobbled the wrong data, so lastfm just returns whatever we give them. The remove featured config option just removes feat. using regex from the song name, and for the artist name we just run an api call to Apple to get the artist list returning the first one it gives us, which in most cases is wrong. If you have any other suggest/implementation that gets it right please share.
Its very hard to remove the correct artist as using LastFM's correction API doesn't help because other services have already scrobbled the wrong data, so lastfm just returns whatever we give them. The remove featured config option just removes feat. using regex from the song name, and for the artist name we just run an api call to Apple to get the artist list returning the first one it gives us, which in most cases is wrong. If you have any other suggest/implementation that gets it right please share.
can't you use the cider 1 method? it worked fine
You could try this, get the ID of the first artist with MusicKit.getInstance().nowPlayingItem.relationships.artists.data[0].id and make a request to the API to get the name of the artist (this is how it works in Cider 1, I think)
This fixes the issues I mentioned, apart from the issue with the Discord RPC
Preflight Checklist
What operating system are you using?
Windows
Build Details
Cider 2.2.0 Latest Pre-Release
Operating System Version
Windows 11
Describe the Bug
When the album is by 'Various Artists,' it scrobbles with the artist as 'Various Artists' instead of the primary artist of the song. Most of the time, it doesn't remove the featured artists correctly, and some songs doesn't even scrobble. It also removes the featured artists on the Discord RPC (It shouldn't).
Steps to Reproduce
Anything else?
No response
Connect Device ID
No response
Build timestamp
No response