]> gitweb.hhaalo.de Git - albentohandy.git/commitdiff
fix vorbis cover bytes
authorBastian Dehn <hhaalo@arcor.de>
Fri, 3 Jul 2026 16:58:01 +0000 (18:58 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Fri, 3 Jul 2026 16:58:01 +0000 (18:58 +0200)
libs/vorbis.sh

index b538092549ba9f8577e0143506e6f143f83afc58..1da29aff99e69aba45b4cb28e301ee0bd4dcc2a5 100644 (file)
@@ -53,7 +53,7 @@ cover_to_metadata()
        local inputfile="$1"
        local outputfile="${inputfile/.jpg/.txt}"
        local filesize=
-       filesize=$(wc --chars "$inputfile")
+       filesize=$(wc --bytes "$inputfile")
        filesize=${filesize/ */}
 
        # picture typ (jpg)