#!/bin/sh
#Script for netscape plugin for gqmpeg to play icecast(.org) and
#shoutcast(.com) files.

COMMAND_FILE=$HOME/.gqmpeg/command
PLS_LINE=`cat $1 | grep "File1"`
PARSED=$(echo $PLS_LINE | awk '{ gsub ("File1","") } { gsub ("=","") } {print $1}')

exec gqmpeg -f $PARSED 2>&1 > /dev/null &

