From cf2bc799b6a0211030572be5b6dd05258b885ee7 Mon Sep 17 00:00:00 2001 From: Leo Coogan Date: Tue, 4 Jan 2022 15:00:30 -0500 Subject: [PATCH] Fixed ffconv-a ext naming, updated copyright --- COPYRIGHT.txt | 7 +++++-- bin/ffconv-a | 8 +++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/COPYRIGHT.txt b/COPYRIGHT.txt index 84c6f31..0d33d50 100644 --- a/COPYRIGHT.txt +++ b/COPYRIGHT.txt @@ -15,10 +15,13 @@ yt-dl is licensed under the Unlicense. A license copy is provided in LICENSES/Un yt-mpeg is licensed under the Unlicense. A license copy is provided in LICENSES/Unlicense.txt. ffconv is licensed under CC BY-SA 4.0. A license copy is provided in LICENSES/CC-BY-SA-3.0.txt. -ffconv-a - Copyright (c) 2019, 2011 Isaac, tripleee +ffconv - Copyright (c) 2019, 2011 Isaac, tripleee ffconv-a is licensed under CC BY-SA 4.0. A license copy is provided in LICENSES/CC-BY-SA-4.0.txt. -ffconv-a - Copyright (c) 2019, 2011 Isaac, tripleee +ffconv-a - Copyright (c) 2019, 2011 Isaac, tripleee, llogan, Matthias Braun + +ffconv-ar is licensed under CC BY-SA 4.0. A license copy is provided in LICENSES/CC-BY-SA-4.0.txt. +ffconv-ar - Copyright (c) 2019, 2011 Isaac, tripleee, llogan, Matthias Braun matrix-upload is licensed under ISC. A license copy is provided in LICENSES/ISC.txt. Copyright (c) 2018 Damir Jelić diff --git a/bin/ffconv-a b/bin/ffconv-a index 4e8bd15..ea16036 100755 --- a/bin/ffconv-a +++ b/bin/ffconv-a @@ -3,11 +3,9 @@ echo Convert from... read ext echo Convert to... read toext -for i in *.$ext; -do name=`echo "$i" | grep -E '(.+?)(\.[^.]*$|$)'` - echo "$name" - ffmpeg -i "$i" "${name}.$toext" -movflags use_metadata_tags -done + +for i in *.$ext; do ffmpeg -i "$i" "${i%.*}.$toext"; done + while true; do read -p "Delete original files? " yn case $yn in