1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Manual scrobbling now also uses new notification system

This commit is contained in:
krateng
2022-04-21 18:04:01 +02:00
parent 8023c2d51c
commit 884e95dc58
2 changed files with 7 additions and 3 deletions

View File

@@ -69,8 +69,9 @@ function scrobble(artists,title) {
"title":title
}
if (title != "" && artists.length > 0) {
neo.xhttpreq("/apis/mlj_1/newscrobble",data=payload,method="POST",callback=scrobbledone,json=true)
neo.xhttpreq("/apis/mlj_1/newscrobble",data=payload,method="POST",callback=notifyCallback,json=true)
}
document.getElementById("title").value = "";