summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2015-03-13 03:51:27 +0100
committerRasmus Steinke <rasi@xssn.at>2015-03-13 03:51:27 +0100
commit6a5378c2281b557e31089ba40412478e2c3e4899 (patch)
tree36e7080cb00ac33ebacc230de1e96203360d9751
parent26228955ceb78c0aa3a993e3f64cf3f1c2d99de0 (diff)
downloadperl-app-clerk-6a5378c2281b557e31089ba40412478e2c3e4899.tar.gz
perl-app-clerk-6a5378c2281b557e31089ba40412478e2c3e4899.tar.xz
show status on stdout
-rwxr-xr-xclerk_helper1
1 files changed, 1 insertions, 0 deletions
diff --git a/clerk_helper b/clerk_helper
index 76c0036..14ac637 100755
--- a/clerk_helper
+++ b/clerk_helper
@@ -150,6 +150,7 @@ def restoreTrackRating(args):
columns = line.split(" "+config['global']['separator']+" ")
if song['title'] in line and song['date'] in line and song['album'] in line and song['track'] in line:
client.sticker_set('song', song['file'], 'rating', columns[0])
+ print("Imported song "+song['title']+" with rating of "+columns[0])
#create commandline arguments
parser = argparse.ArgumentParser(prog='mppc', description='A mpc clone in python')