# HG changeset patch # User ssokolow@monolith.multiverse # Date 1187418401 14400 # Node ID 9da616784f11102f47ed7bbc68910140431c1a91 # Parent e7d8727fb90137ca4350be8f007ccde10fee799d Fixed lap.py's -q option when used with the audtool fallback. diff -r e7d8727fb901 -r 9da616784f11 contrib/lap.py --- a/contrib/lap.py Sat Aug 18 02:45:06 2007 +0200 +++ b/contrib/lap.py Sat Aug 18 02:26:41 2007 -0400 @@ -81,7 +81,7 @@ try: if subprocess.call(['audtool','playlist-addurl',file_url]): print "ERROR: audtool fallback returned an error for: %s" % file_url - else: + elif play: os.system('audtool playlist-jump `audtool playlist-length`; audtool playback-play') except OSError: print "ERROR: Unable to call audtool as a fallback for: %s" % file_url