Update Harmony link format in SubmissionLinkGenerator

- Modified the URL structure in the generate_harmony_link method to include 'release' in the path for better clarity and accuracy in generating submission links from Deezer URLs.
This commit is contained in:
Danilo Reyes
2025-11-11 10:25:48 -06:00
parent ba0cdcb27b
commit 20b07450d9

View File

@@ -204,7 +204,7 @@ class SubmissionLinkGenerator:
@staticmethod
def generate_harmony_link(deezer_url: str) -> str:
"""Generate a Harmony submission link from a Deezer URL"""
return f"https://harmony.pulsewidth.org.uk/?url={quote(deezer_url, safe='')}"
return f"https://harmony.pulsewidth.org.uk/release?url={quote(deezer_url, safe='')}"
@staticmethod
def generate_links(deezer_url: str) -> Dict[str, str]: