chore: chart tagging

This commit is contained in:
Cory Dransfeldt 2024-05-13 14:01:26 -07:00
parent ae2ed3f737
commit d9da197819
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View file

@ -55,6 +55,7 @@ export default {
},
tagLookup: (url, tagMap) => {
if (!url) return
if (url.includes('#artists')) return `#Music`
if (url.includes('openlibrary.org')) return `#Books #NowReading ${tagMap[url]}`.trim()
if (url.includes('trakt.tv')) return `#Movies #Watching ${tagMap[url]}`.trim()
return tagMap[url] || ''