Package: plait Version: 1.5.2-1 Filename: pool/main/p/plait/plait_1.5.2-1_all.deb Found error in /usr/bin/plaiter: $ grep -A5 -B5 /tmp/ /usr/bin/plaiter if test $paused = 0 && ! test $playerpid = 0 then tries=0 while true do ps -p $playerpid > /tmp/ps.$$ foo=`grep "$HELPERNAME" /tmp/ps.$$` if test "-$foo-" = "--" then if test $VERBOSE -gt 0 then echo Did not find $HELPERNAME -- # possibly shuffle the playlist if test $ORDER = "random" then cat "$HOME/.plait/plaiter0.m3u" | awk 'BEGIN{srand()} {print rand() "\t" $0}' | \ sort -n | cut -f "2-" > /tmp/cut.$$ mv /tmp/cut.$$ "$HOME/.plait/plaiter0.m3u" fi cat "$HOME/.plait/plaiter0.m3u" >> "$HOME/.plait/plaiter.m3u" # before sending a command, make sure daemon is active Found error in /usr/bin/plait: $ grep -A5 -B5 /tmp/ /usr/bin/plait fi if test $ORDER = "random" then cat "$HOME/.plait/playlist.m3u" | awk 'BEGIN{srand()} {print rand() "\t" $0}' | \ sort -n | cut -f "2-" > /tmp/cut.$$ mv /tmp/cut.$$ "$HOME/.plait/playlist.m3u" fi # trim the playlist if it has not been edited interactively if test $INTERACTIVE = 0 then head -n $TRACKS > /tmp/head.$$ "$HOME/.plait/playlist.m3u" mv /tmp/head.$$ "$HOME/.plait/playlist.m3u" fi } listmixfiles () -- # each file path root="`head -n 1 \"$HOME/.plait/playlist.m3u\" | awk \ '{match($0, "/*[^/]*/[^/]*/"); print substr($0, RSTART, RLENGTH)}'`" root="`cygpath -am $root`" cat "$HOME/.plait/playlist.m3u" | awk > /tmp/awk.$$ -v r="$root" \ 'BEGIN { if (r !~ /\/$/) r = r "/"; gsub (/\//, "\\", r) } \ { s = $0; sub ("^/*[^/]*/[^/]*/", "", s); gsub (/\//, "\\", s); print r s}' mv /tmp/awk.$$ "$HOME/.plait/playlist2.m3u" } translate_to_windows_file_paths () { if test $SLOW_PATH_TRANSLATION = 1 then cat "$HOME/.plait/playlist.m3u" | xargs > "$HOME/.plait/playlist2.m3u" -i cygpath -am "{}" else root="`cygpath -am \"$MUSICDIR\"`" cat "$HOME/.plait/playlist.m3u" | awk > /tmp/awk.$$ -v r="$root" -v d="$MUSICDIR" \ 'BEGIN {if (r !~ /\/$/) r = r "/"; gsub (/\//, "\\", r)} \ {s = $0; sub (d "/", "", s); gsub (/\//, "\\", s); print r s}' mv /tmp/awk.$$ "$HOME/.plait/playlist2.m3u" fi } prefetch_or_copy ()