Skip to content

Instantly share code, notes, and snippets.

View attilammagyar's full-sized avatar

Attila Magyar attilammagyar

View GitHub Profile
@dnet
dnet / videotar.sh
Created October 14, 2011 20:49
MTV videotár player
#!/bin/sh
# MTV videotar player
if [ $# -lt 1 ]; then
echo "Usage: $0 <videotar URL> [additional parameters to player]" >&2
exit 1
fi
CURL="curl -silent"
URL=$($CURL "$1" | sed -n 's/^.*\(http.*wmv\).*$/\1/p')