This commit is contained in:
cwilvx
2024-12-31 01:01:48 +03:00
parent c64f40e54b
commit df4c911371
2 changed files with 11 additions and 4 deletions
+5 -1
View File
@@ -70,7 +70,11 @@ class LastFmPlugin(Plugin):
"albumArtist": track.albumartists[0]["name"],
}
print("scrobble data:", data)
try:
self.post(data)
res = self.post(data)
print("scrobble response:", res.text)
print("scrobble response json:", res.json())
except Exception as e:
print("scrobble error", e)