scripts

misc scripts and tools
git clone git://git.2f30.org/scripts.git
Log | Files | Refs

commit 472785086447d1c22101be76d0aab44897be9293
parent 4d528c1cd6afce9042ef723b2421d248efd021ab
Author: lostd <lostd@2f30.org>
Date:   Thu Jan  9 14:28:15 +0200

Remove wget dependency

Diffstat:
ytfetch | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/ytfetch b/ytfetch @@ -2,7 +2,7 @@ # fetch music videos and convert them to audio files # it also handles playlists -# depends: youtube-dl ffmpeg wget +# depends: youtube-dl ffmpeg if test -z "$1"; then echo "usage: $(basename $0) yturl ..." 1>&2 @@ -36,11 +36,9 @@ for URL in "$@"; do echo "hav $F" else echo "get $L" - wget "$DIRECT" -O "$L" 2> /dev/null - ffmpeg -i "$L" \ + ffmpeg -i "$DIRECT" \ -metadata artist="$ARTIST" -metadata title="$TITLE" \ "$F" 2> /dev/null - rm "$L" fi ;; esac