Add option for tracks that won’t be scrobbled

master
trémeur 6 months ago
parent e6d14a0e50
commit 3d283da0f7

@ -27,8 +27,11 @@ def scrobble(thealbum):
else:
theartist = album["artist"]
thetrack = item
last_api_call = network.scrobble(theartist,thetrack,int(time.time()))
print("Scrobbled " + item)
if theartist == "noscrob":
print("Skipped " + thetrack)
else:
last_api_call = network.scrobble(theartist,thetrack,int(time.time()))
print("Scrobbled " + item)
countdown(tracklist[item])
if i < len(album["tracks"]):
input("Press enter after changing side")

Loading…
Cancel
Save