Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to scrobble only the primary artist #3

Closed
cillyk opened this issue Feb 6, 2023 · 4 comments
Closed

Option to scrobble only the primary artist #3

cillyk opened this issue Feb 6, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@cillyk
Copy link

cillyk commented Feb 6, 2023

In last.fm it is not standard to scrobble multiple artists using & as apple music likes to do, I personally prefer to just scrobble based on the first artist, I will probably make a fork and give it a shot myself but if anyone wants to give it a shot to save me the effort of setting up a dev space for C# it can be done using rejex with:

for just 2 artists:
\ &(.*)

ones seperated by comas:
\ ,(.*)

@spedinfargo
Copy link
Contributor

That should be do-able. I'll dust off the Regex skills and give it a shot later this week. I'll also see how the official Scrobbler handles it with iTunes. Do you have a specific song or two that I could use as an example?

@PKBeam PKBeam added the enhancement New feature or request label Feb 8, 2023
@cillyk
Copy link
Author

cillyk commented Feb 19, 2023

Added a approach to doing this to my own fork if anyone wants me to build it for them let me know.

@PKBeam
Copy link
Owner

PKBeam commented Apr 30, 2023

You can separate artists by querying the Apple Music website.

For example,
image

This reliably deals with the cases of ampersands and commas within an artist's name.

@PKBeam
Copy link
Owner

PKBeam commented May 1, 2023

implemented in commit 8237b3c

@PKBeam PKBeam closed this as completed May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants