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

Fix Artist / Title splitting when they contain dashes #119

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

kinsi55
Copy link
Contributor

@kinsi55 kinsi55 commented Sep 3, 2024

It is entirely possible for a Song or Artist to contain a dash, in those cases the current implementation would either pick part of the artist as the title, or cut off part of the title if it contains a dash.

This change tries to improve upon that by splitting the title in two parts based off wherever the first " - " occurence is.

Copy link
Collaborator

@Inzaniity Inzaniity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@Inzaniity Inzaniity merged commit ca66617 into songify-rocks:master Sep 4, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants