Arne Babenhauserheide  committed 57d1ba1

FIX: babplay_randomly played the same playlist over and over again, just ignoring the first few files on successive runs.

  • Participants
  • Parent commits d25bd3b

Comments (0)

Files changed (1)


 # Now shuffle it
+print "playing", len(files), "files"
 if __name__ == "__main__": 
     # now call mplayer for each batch of 100 (bash-)escaped filename. 
     for i in range(len(files)/100 +1 ):
-	call(MPLAYER + [j.encode("string-escape") for j in files[i:]])
+	call(MPLAYER + [j.encode("string-escape") for j in files[100*i:]])
     # That should have done it.