mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-10-28 23:21:16 +00:00
add logs
This commit is contained in:
1 parent
c64f40e54b
commit
df4c911371
2 files changed
+11
-4
No files matched your search
@@ -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)
|
||||
Reference in new issue
Block a user