Fix streaming mp4. Thanks adc! - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 01ff11afa45131d9eaf96724dff962d0d824cad4 | |
parent c5465a2a3c3d3ce5e03674175d928987524e8d47 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Sat, 22 Oct 2022 12:32:02 +0200 | |
Fix streaming mp4. Thanks adc! | |
Diffstat: | |
M annna-add-hashtag | 12 ++++++------ | |
1 file changed, 6 insertions(+), 6 deletions(-) | |
--- | |
diff --git a/annna-add-hashtag b/annna-add-hashtag | |
@@ -299,6 +299,12 @@ processtag() { | |
;; | |
esac | |
+ tagfilenew="$(/br/bin/quinq-size "${tagfile}" </dev/null | sed 's/.* -… | |
+ if [ -e "${tagfilenew}" ] && [ $? -eq 0 ]; | |
+ then | |
+ mv "${tagfilenew}" "${tagfile}" | |
+ fi | |
+ | |
case "${tagfile}" in | |
*.MP4|*.mp4|*.MKV|*.mkv|*.webm|*.WEBM|*.mov|*.MOV) | |
printf "Making %s streamable by adding faststart.\n" "${tagfil… | |
@@ -306,12 +312,6 @@ processtag() { | |
mv "faststart_${tagfile}" "${tagfile}" | |
;; | |
esac | |
- | |
- tagfilenew="$(/br/bin/quinq-size "${tagfile}" </dev/null | sed 's/.* -… | |
- if [ -e "${tagfilenew}" ] && [ $? -eq 0 ]; | |
- then | |
- mv "${tagfilenew}" "${tagfile}" | |
- fi | |
} | |
inserttag() { |