chore: scrobbling

This commit is contained in:
Cory Dransfeldt 2024-03-29 15:06:36 -07:00
parent 94d0f746c3
commit 0a3eba39b4
No known key found for this signature in database

View file

@ -101,8 +101,8 @@ export default async (request) => {
// scrobble logic
artistInfo = await artists.get(artistKey, { type: 'json'})
console.log(artistInfo['mbid'])
const artistUrl = `https://musicbrainz.org/artist/${artistInfo['mbid']}`
console.log(artistInfo?.['mbid'])
const artistUrl = `https://musicbrainz.org/artist/${artistInfo?.['mbid']}`
const trackScrobbleData = {
track,
album,