From 89f1eb5bdca6c57293d3800641cc58a53c857089 Mon Sep 17 00:00:00 2001 From: Horus3 Date: Mon, 10 Mar 2014 03:22:20 +0100 Subject: typo and stuff --- bin/play | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/play b/bin/play index 0f6586c..8d480e7 100755 --- a/bin/play +++ b/bin/play @@ -74,7 +74,8 @@ if [[ "$@" =~ ^https?://.+\.[a-z]{2}[a-z]* ]]; then wget -q -O "file" "$@" & echo "Starting download. Ready to play in 2 sec." sleep 2 - mpv file + $player file + rm -v file echo "TODO: Moving to archiv. Not implemented yet." exit 0 elif [[ $player =~ mpv$ ]] && [ $download ] && ( [ ! $download = "n" ] && [ ! $download = "N" ] && [ ! $download = "no" ] && [ ! $download = "nein" ] && [ ! $download = "NO" ]); then -- cgit v1.2.3