kellnerd / harmony

Music Metadata Aggregator and MusicBrainz Importer
MIT License
53 stars 7 forks source link

feat(Tidal): format textual copyright symbols as © or ℗ #53

Closed phw closed 4 months ago

phw commented 4 months ago

On Tidal it s very common to have copyright symbols in textual form, e.g. "(p)" or "(C)", instead of the dedicated symbols ℗ or ©. The symbols are also used, but it is not mandatory.

Add a utility function formatCopyrightSymbols to handle this. Also use this function in the existing Spotify implementation for copyright cleanup.

This PR partially but not completely addresses #23. I wanted to fix the most prominent issue where Tidal shows "(p) 2024 Some Band", but Spotify and iTunes give "℗ 2024 Some Band". Now there is a single consistent copyright entry.

Previously for https://tidal.com/album/64944658: grafik

Now: grafik

What this PR does not address: