From 3bfaedfb52d76608674825b5f50517aafa00f3c7 Mon Sep 17 00:00:00 2001 From: Leo Coogan Date: Sun, 23 Apr 2023 22:50:53 -0400 Subject: [PATCH] added format, removed no longer needed script --- bin/ffconv-a | 2 +- bin/yt-dl | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100755 bin/yt-dl diff --git a/bin/ffconv-a b/bin/ffconv-a index 4acdce9..b9699e4 100755 --- a/bin/ffconv-a +++ b/bin/ffconv-a @@ -1,4 +1,4 @@ #!/bin/dash # Convert directories and subdirectories from other audio formats to opus # Public domain, you probably couldn't even copyright a script this short -find ./ -type f \( -iname \*.flac -o -iname \*.mp3 -o -iname \*.ogg -o -iname \*.m4a \) -exec sh -c 'i="{}"; ffmpeg -y -i "$i" "${i%.*}.opus" && rm -f "$i"' \; +find ./ -type f \( -iname \*.flac -o -iname \*.mp3 -o -iname \*.ogg -o -iname \*.m4a -o -iname \*.wav \) -exec sh -c 'i="{}"; ffmpeg -y -i "$i" "${i%.*}.opus" && rm -f "$i"' \; diff --git a/bin/yt-dl b/bin/yt-dl deleted file mode 100755 index 81277fa..0000000 --- a/bin/yt-dl +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/dash -#yt-dl - youtube-dl "magic" download -echo Playlist URL: -read url -youtube-dl "$url" --yes-playlist --audio-format opus -x --audio-quality 0 --add-metadata -o "%(playlist_index)s %(title)s.%(ext)s"