Add option for tracks that won’t be scrobbled
This commit is contained in:
parent
e6d14a0e50
commit
3d283da0f7
1 changed files with 5 additions and 2 deletions
|
@ -27,8 +27,11 @@ def scrobble(thealbum):
|
||||||
else:
|
else:
|
||||||
theartist = album["artist"]
|
theartist = album["artist"]
|
||||||
thetrack = item
|
thetrack = item
|
||||||
last_api_call = network.scrobble(theartist,thetrack,int(time.time()))
|
if theartist == "noscrob":
|
||||||
print("Scrobbled " + item)
|
print("Skipped " + thetrack)
|
||||||
|
else:
|
||||||
|
last_api_call = network.scrobble(theartist,thetrack,int(time.time()))
|
||||||
|
print("Scrobbled " + item)
|
||||||
countdown(tracklist[item])
|
countdown(tracklist[item])
|
||||||
if i < len(album["tracks"]):
|
if i < len(album["tracks"]):
|
||||||
input("Press enter after changing side")
|
input("Press enter after changing side")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue