diff options
author | Patrick Simianer <p@simianer.de> | 2014-10-09 20:44:15 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-10-09 20:44:15 +0100 |
commit | ca41eddfdc979955105cce572e659941544d6f6d (patch) | |
tree | bf446902e8323e58c6fc14dce808b9719da7d3f6 /yt2mp3 | |
parent | 0aae427eb3838297f6e204c2961739ef834762cf (diff) |
alles neu macht der mai
Diffstat (limited to 'yt2mp3')
-rwxr-xr-x | yt2mp3 | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -1,20 +0,0 @@ -#!/bin/sh - -usage() -{ - echo "$0 <yt link> <mp3 file>" - exit 1 -} - -if [ -z $1 ] || [ -z $2 ]; then usage; fi - -TMP_FN=/tmp/youtube-dl-$RANDOM -while [ -a $TMP_FN ]; do - TMP_FN=/tmp/youtube-dl-$RANDOM -done -echo $TMP_FN - -youtube-dl --output=$TMP_FN --format=18 "$1" -ffmpeg -i $TMP_FN -acodec libmp3lame -ac 2 -ab 128k -vn -y "$2" -rm $TMP_FN - |