diff --git a/scrobble.py b/scrobble.py index 84f5536..40aa179 100644 --- a/scrobble.py +++ b/scrobble.py @@ -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")