diff --git a/api/scrobble.js b/api/scrobble.js index d20d6b4b..91ed13fe 100644 --- a/api/scrobble.js +++ b/api/scrobble.js @@ -59,7 +59,7 @@ export default async (request) => { const artistSanitizedKey = `${sanitizeMediaString(artist).replace(/\s+/g, '-').toLowerCase()}` const albumSanitizedKey = `${sanitizeMediaString(artist).replace(/\s+/g, '-').toLowerCase()}-${sanitizeMediaString(album.replace(/[:\/\\,'']+/g , '').replace(/\s+/g, '-').toLowerCase())}` - let artistInfo = {} + let artistInfo = artistsMap[artistSanitizedKey] // if there is no artist blob, populate one if (!artistsMap[artistSanitizedKey]) {