chore: scrobbling
This commit is contained in:
parent
36dd33bbd9
commit
2251eb087b
1 changed files with 2 additions and 1 deletions
|
@ -57,7 +57,8 @@ export default async (request, context) => {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return {}
|
return {}
|
||||||
});
|
});
|
||||||
const mbid = trackRes['track']['artist']['mbid']
|
const track = trackRes["recenttracks"]["track"][0];
|
||||||
|
let mbid = trackRes['track']['artist']['mbid']
|
||||||
const mbidMap = () => mbidRes[track["artist"]["#text"].toLowerCase()] || "";
|
const mbidMap = () => mbidRes[track["artist"]["#text"].toLowerCase()] || "";
|
||||||
|
|
||||||
// mbid mismatches
|
// mbid mismatches
|
||||||
|
|
Reference in a new issue