chore: scrobbling
This commit is contained in:
parent
f010fb01c6
commit
2f982b8f7e
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ export default async (request, context) => {
|
|||
});
|
||||
const trackData = trackRes['track'];
|
||||
let mbid = trackRes['track']['artist']['mbid']
|
||||
const mbidMap = () => mbidRes[trackData['artist']['#text'].toLowerCase()] || "";
|
||||
const mbidMap = () => mbidRes[trackData['artist']['name'].toLowerCase()] || '';
|
||||
|
||||
// mbid mismatches
|
||||
if (mbidMap() !== "") mbid = mbidMap();
|
||||
|
|
Reference in a new issue