Streamline adding new URL types #117

Closed
opened 2024-01-27 22:55:28 +01:00 by wojtek · 3 comments
Owner

I want to add 7digital as a URL type. Currently this requires a lot of hardcoding and copying of unit tests. It would be better if adding the new URL type did not require any new code.

I want to add 7digital as a URL type. Currently this requires a lot of hardcoding and copying of unit tests. It would be better if adding the new URL type did not require any new code.
wojtek added this to the v0.2.0 milestone 2024-01-27 22:55:28 +01:00
wojtek added the
enhancement
label 2024-01-27 22:55:28 +01:00
Author
Owner

The solution will require a musichoard config of some form. And musicbrainz shall remain special due to the MBID. Perhaps reverse the relationship? MB URL derived from MBID?

The solution will require a `musichoard` config of some form. And `musicbrainz` shall remain special due to the MBID. Perhaps reverse the relationship? MB URL derived from MBID?
Author
Owner

Some other thoughts:

  • Do not check URL domain - allows to implement this without any extra config
  • Do not even assume it is a URL - allows for arbitrary notes to be added
Some other thoughts: - Do not check URL domain - allows to implement this without any extra config - Do not even assume it is a URL - allows for arbitrary notes to be added
Author
Owner

Leaning towards allowing arbitrary properties. That will make it easier to generalise to albums as well.

Leaning towards allowing arbitrary properties. That will make it easier to generalise to albums as well.
wojtek added reference 117---streamline-adding-new-url-types 2024-02-06 21:08:15 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: wojtek/musichoard#117
No description provided.