History

change ALAC to M4A

Serge Zirukin committed 16 years ago

Commit d4850de1 parent 1a058a11 file · +3 −3Browse files

Unified · Split

split2flac.sh+3−3
@@ -47,7 +47,7 @@ SAVE=0 · 46 unmodified lines
47unset PIC INPATH CUE CHARSET47unset PIC INPATH CUE CHARSET
48FORCE=048FORCE=0
49 49
50HELP="\${cG}split2flac splits one big \${cU}APE/FLAC/WV\$cZ\$cG file to \${cU}FLAC/ALAC/MP3/OGG_VORBIS\$cZ\$cG tracks with tagging and renaming.50HELP="\${cG}split2flac splits one big \${cU}APE/FLAC/WV\$cZ\$cG file to \${cU}FLAC/M4A/MP3/OGG_VORBIS\$cZ\$cG tracks with tagging and renaming.
51 51
52Usage: \${cZ}split2\${FORMAT}.sh [\${cU}OPTIONS\$cZ] \${cU}FILE\$cZ [\${cU}OPTIONS\$cZ]\$cZ52Usage: \${cZ}split2\${FORMAT}.sh [\${cU}OPTIONS\$cZ] \${cU}FILE\$cZ [\${cU}OPTIONS\$cZ]\$cZ
53 \${cZ}split2\${FORMAT}.sh [\${cU}OPTIONS\$cZ] \${cU}DIR\$cZ [\${cU}OPTIONS\$cZ]\$cZ53 \${cZ}split2\${FORMAT}.sh [\${cU}OPTIONS\$cZ] \${cU}DIR\$cZ [\${cU}OPTIONS\$cZ]\$cZ
@@ -73,7 +73,7 @@ Usage: \${cZ}split2\${FORMAT}.sh [\${cU}OPTIONS\$cZ] \${cU}FILE\$cZ [\${cU}OPTIO · 19 unmodified lines
73 73
74\$cR*\$cZ - option affects configuration if \$cP'-s'\$cZ option passed.74\$cR*\$cZ - option affects configuration if \$cP'-s'\$cZ option passed.
75\${cP}NOTE: \$cG'-c some_file.jpg -s'$cP only \${cU}allows\$cZ\$cP cover images, it doesn't set a default one.75\${cP}NOTE: \$cG'-c some_file.jpg -s'$cP only \${cU}allows\$cZ\$cP cover images, it doesn't set a default one.
76\${cZ}Supported \$cU\${cG}FORMATs\${cZ}: flac, alac, mp3, ogg.76\${cZ}Supported \$cU\${cG}FORMATs\${cZ}: flac, m4a, mp3, ogg.
77 77
78It's better to pass \$cP'-p'\$cZ option to see what will happen when actually splitting tracks.78It's better to pass \$cP'-p'\$cZ option to see what will happen when actually splitting tracks.
79You may want to pass \$cP'-s'\$cZ option for the first run to save default configuration79You may want to pass \$cP'-s'\$cZ option for the first run to save default configuration
@@ -163,7 +163,7 @@ VALIDATE="sed s/[^-[:space:][:alnum:]&_#,.'\"\(\)!?]//g" · 83 unmodified lines
163msg_format="${cG}Output format :$cZ"163msg_format="${cG}Output format :$cZ"
164case ${FORMAT} in164case ${FORMAT} in
165 flac) $msg "$msg_format FLAC";;165 flac) $msg "$msg_format FLAC";;
166 alac) $msg "$msg_format ALAC"; FORMAT=m4a;;166 m4a) $msg "$msg_format M4A";;
167 mp3) $msg "$msg_format MP3";;167 mp3) $msg "$msg_format MP3";;
168 ogg) $msg "$msg_format OGG VORBIS";;168 ogg) $msg "$msg_format OGG VORBIS";;
169 *) emsg "Unknown output format \"${FORMAT}\""; exit 1;;169 *) emsg "Unknown output format \"${FORMAT}\""; exit 1;;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t