A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd

Even when we don't encrypt a mi4 we still need to run the encrypt step so that the crc gets updated.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10812 a1c6a512-1295-4272-9138-f99709370657

+6 -2
+6 -2
tools/mkmi4.sh
··· 48 } 49 50 help () { 51 - echo "Usage: mi4fix.sh <e200/h10/h10_5gb> <input> <output>" 52 exit 53 } 54 ··· 73 sign="yes" 74 ;; 75 h10_5gb) 76 buildopt="-2" 77 ;; 78 *) ··· 108 #echo "$tool encrypt $output.raw $output.encrypt $tea" 109 $tool encrypt $output.raw $output.encrypt $tea 110 else 111 - mv $output.raw $output.encrypt 112 fi 113 # sign 114 if test -n "$sign"; then
··· 48 } 49 50 help () { 51 + echo "Usage: mi4fix.sh <e200/h10/h10_5gb/elio> <input> <output>" 52 exit 53 } 54 ··· 73 sign="yes" 74 ;; 75 h10_5gb) 76 + buildopt="-2" 77 + ;; 78 + elio) 79 buildopt="-2" 80 ;; 81 *) ··· 111 #echo "$tool encrypt $output.raw $output.encrypt $tea" 112 $tool encrypt $output.raw $output.encrypt $tea 113 else 114 + # Even if we don't encrypt we need to do this to ensure the crc gets fixed 115 + $tool encrypt -pall $output.raw $output.encrypt default 116 fi 117 # sign 118 if test -n "$sign"; then