feat: beta scrobble to site

This commit is contained in:
Cory Dransfeldt 2024-03-30 21:51:12 -07:00
parent 178546935c
commit 05dfeb612e
No known key found for this signature in database
5 changed files with 40 additions and 22 deletions

View file

@ -6,6 +6,7 @@ const sanitizeMediaString = (string) => {
return normalizedStr
.replace(/[\u0300-\u036f]/g, '')
.replace(/[\u2010]/g, '-')
.replace(/—/g, '-')
.replace(/\.{3}/g, '')
.replace(/\?/g, '')
.replace(/[\(\)\[\]\{\}]/g, '')