Browse Source

lastannounce fix

itec78 3 years ago
parent
commit
3e4c9a3db0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      playlistalo.py

+ 1 - 1
playlistalo.py

@@ -442,7 +442,7 @@ def consume(song):
                 with open(os.path.dirname(song) + "/last", "w") as f:
                     f.write(time.strftime("%Y%m%d%H%M%S"))
             #resetta il contatore announcelast
-            setlastannounce(1)
+            setlastannounce(0)
         
         elif song.split("/")[0] == "fallback":
             fname =  time.strftime("%Y%m%d%H%M%S") + "|" + "|".join(os.path.basename(song).split("|")[1:])