From 89f1eb5bdca6c57293d3800641cc58a53c857089 Mon Sep 17 00:00:00 2001 From: Horus3 Date: Mon, 10 Mar 2014 03:22:20 +0100 Subject: typo and stuff --- .gitignore | 2 -- bin/play | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index d2ef92e..73db839 100644 --- a/.gitignore +++ b/.gitignore @@ -9,5 +9,3 @@ .classpath .settings/ tmp/ -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