commit 47c443087819a0f454fe84504e28c00e7d039302
parent 1ad90ef028d381e84bd80122f6352e7db1aec4b5
Author: hhvn <dev@hhvn.uk>
Date: Wed, 10 Nov 2021 17:01:40 +0000
.s/b/asplit: copy video too
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.scripts/bin/asplit b/.scripts/bin/asplit
@@ -60,7 +60,7 @@ do
get 5 | grep '[0-9]' >/dev/null &&
ffmpeg -y -nostdin -i "$1" \
-ss "$(get 1)" -to "$(get 2)" \
- -map_metadata -1 -vn -c copy \
+ -map_metadata -1 -c copy \
-metadata "title=$(get 3)" \
-metadata "artist=$(get 4)" \
-metadata "track=$(get 5)" \
@@ -69,7 +69,7 @@ do
"$(get 5).-.$(get 3 | tr '/ ' '_..').$format" ||
ffmpeg -y -nostdin -i "$1" \
-ss "$(get 1)" -to "$(get 2)" \
- -map_metadata -1 -vn -c copy \
+ -map_metadata -1 -c copy \
-metadata "title=$(get 3)" \
-metadata "artist=$(get 4)" \
-metadata "album=$(get 6)" \