#!/bin/sh
COSPATH=$(dirname $(readlink -f $0))
#/home/archhome/stil/git/crockofshit
S="$1"
shift
case "$S" in
"xmms")
$COSPATH/cos-search $COSPATH/fuck "$@"|cut -f2|while read fname; do echo "$fname"; xmmsctrl +file "$fname"; done
;;
*)
$COSPATH/cos-"$S" $COSPATH/fuck "$@"
;;
esac