chore: chart tagging
This commit is contained in:
parent
ae2ed3f737
commit
d9da197819
2 changed files with 2 additions and 1 deletions
|
@ -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] || ''
|
||||
|
|
Reference in a new issue