chore: display tweak

This commit is contained in:
Cory Dransfeldt 2023-10-10 11:00:53 -07:00
parent 63866da6b4
commit e12527b122

View file

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