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

Name swapping issue with extra whitespace #399

Open
RocketMan opened this issue May 11, 2023 · 0 comments
Open

Name swapping issue with extra whitespace #399

RocketMan opened this issue May 11, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@RocketMan
Copy link
Owner

Multiple whitespace characters following the comma in an artist name perturbs the name swap algorithm.

In the following playlist, the artist Barbara Dane is name-swapped for some albums, but not others:
https://zookeeper.stanford.edu/?action=viewListById&playlist=46633

It turns out in the cases where there is no nameswapping, the artist's name is keyed as Dane,\b\bBarbara (two spaces following the comma). In the cases where it works, it is Dane,\bBarbara (one space).

Expected: Name swapping should work without regard to the number of spaces.

@RocketMan RocketMan added the bug Something isn't working label May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant