| @@ -58,7 +58,7 @@ FORCE=0 · 57 unmodified lines |
| 58 | 58 | VERSION=unknown |
| 59 | 59 | |
| 60 | 60 | HELP="\${cG}split2flac version: ${VERSION} |
| 61 | | −Splits one big \${cU}APE/FLAC/WV\$cZ\$cG file to \${cU}FLAC/M4A/MP3/OGG_VORBIS\$cZ\$cG tracks with tagging and renaming. |
| 61 | +Splits one big \${cU}APE/FLAC/WV\$cZ\$cG file to \${cU}FLAC/M4A/MP3/OGG_VORBIS/WAV\$cZ\$cG tracks with tagging and renaming. |
| 62 | 62 | |
| 63 | 63 | Usage: \${cZ}split2\${FORMAT}.sh [\${cU}OPTIONS\$cZ] \${cU}FILE\$cZ [\${cU}OPTIONS\$cZ]\$cZ |
| 64 | 64 | \${cZ}split2\${FORMAT}.sh [\${cU}OPTIONS\$cZ] \${cU}DIR\$cZ [\${cU}OPTIONS\$cZ]\$cZ |
| @@ -85,7 +85,7 @@ Usage: \${cZ}split2\${FORMAT}.sh [\${cU}OPTIONS\$cZ] \${cU}FILE\$cZ [\${cU}OPTIO · 20 unmodified lines |
| 85 | 85 | |
| 86 | 86 | \$cR*\$cZ - option affects configuration if \$cP'-s'\$cZ option passed. |
| 87 | 87 | \${cP}NOTE: \$cG'-c some_file.jpg -s'\$cP only \${cU}allows\$cZ\$cP cover images, it doesn't set a default one. |
| 88 | | −\${cZ}Supported \$cU\${cG}FORMATs\${cZ}: flac, m4a, mp3, ogg. |
| 88 | +\${cZ}Supported \$cU\${cG}FORMATs\${cZ}: flac, m4a, mp3, ogg, wav. |
| 89 | 89 | |
| 90 | 90 | It's better to pass \$cP'-p'\$cZ option to see what will happen when actually splitting tracks. |
| 91 | 91 | You may want to pass \$cP'-s'\$cZ option for the first run to save default configuration |
| @@ -179,6 +179,7 @@ case ${FORMAT} in · 87 unmodified lines |
| 179 | 179 | m4a) $msg "$msg_format M4A";; |
| 180 | 180 | mp3) $msg "$msg_format MP3";; |
| 181 | 181 | ogg) $msg "$msg_format OGG VORBIS";; |
| 182 | + wav) $msg "$msg_format WAVE";; |
| 182 | 183 | *) emsg "Unknown output format \"${FORMAT}\""; exit 1;; |
| 183 | 184 | esac |
| 184 | 185 | |
| @@ -360,6 +361,7 @@ split_file () { · 175 unmodified lines |
| 360 | 361 | m4a) ENC="cust ext=m4a faac -q 500 -o %f -";; |
| 361 | 362 | mp3) ENC="cust ext=mp3 lame --preset extreme - %f";; |
| 362 | 363 | ogg) ENC="cust ext=ogg oggenc -q 10 - -o %f";; |
| 364 | + wav) ENC="wav";; |
| 363 | 365 | *) emsg "Unknown output format ${FORMAT}"; exit 1;; |
| 364 | 366 | esac |
| 365 | 367 | |
| @@ -499,6 +501,10 @@ split_file () { · 133 unmodified lines |
| 499 | 501 | fi |
| 500 | 502 | ;; |
| 501 | 503 | |
| 504 | + wav) |
| 505 | + RES=0 |
| 506 | + ;; |
| 507 | + |
| 502 | 508 | *) |
| 503 | 509 | emsg "Unknown output format ${FORMAT}" |
| 504 | 510 | return 1 |