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

MBS-13895: Allow Crew United links as otherdbs #3445

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

reosarevok
Copy link
Member

@reosarevok reosarevok commented Jan 8, 2025

Implement MBS-13895

Description

This is a database of audiovisual work, including music videos. They have entries for artists, companies (labels) and videos (recordings). Sadly, we cannot determine the entity type from the URL. All languages seem equivalent, so this standardizes to /en to avoid duplicates.

Removing the entity name and leaving the numeric ID, tempting as it is, does not work.

Testing

Added some tests checking the language standardization, dropping extra crap, and the usual http/www.

This is a database of audiovisual work, including music videos.
They have entries for artists, companies (labels) and videos (recordings).
Sadly, we cannot determine the entity type from the URL.
All languages seem equivalent, so this standardizes to /en to avoid
duplicates.
Copy link
Member

@mwiencek mwiencek left a comment

Choose a reason for hiding this comment

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

Tested locally, works for me.

@reosarevok reosarevok merged commit b0de13d into metabrainz:master Jan 9, 2025
2 checks passed
@reosarevok reosarevok deleted the MBS-13895 branch January 9, 2025 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants