chore: ranks instead of plays

This commit is contained in:
Cory Dransfeldt 2023-10-21 13:10:36 -07:00
parent be0c6396ad
commit d2c8b99b62
2 changed files with 3 additions and 3 deletions

View file

@ -12,8 +12,8 @@ module.exports = {
}
if (item.type === 'artist') {
normalized['title'] = item['title']
normalized['alt'] = `${item['plays']} plays of ${item['title']}`
normalized['subtext'] = `${item['plays']} plays`
normalized['alt'] = `${item['title']} at ${item['rank']}`
normalized['subtext'] = `#${item['rank']}`
}
if (item.type === 'book' || item.type === 'movie') normalized['alt'] = item['title']
if (item.type === 'tv') {