Unified · Split
| @@ -46,7 +46,6 @@ NOCOLORS=0 · 45 unmodified lines | |||
| 46 | PIC_SIZE="192x192" | 46 | PIC_SIZE="192x192" |
| 47 | REPLAY_GAIN=0 | 47 | REPLAY_GAIN=0 |
| 48 | FORMAT="${0##*split2}" | 48 | FORMAT="${0##*split2}" |
| 49 | FORMAT="${FORMAT%.sh}" | ||
| 50 | DIR="." | 49 | DIR="." |
| 51 | OUTPATTERN="@artist/{@year - }@album/@track - @title.@ext" | 50 | OUTPATTERN="@artist/{@year - }@album/@track - @title.@ext" |
| 52 | COPYMASKS="Covers,covers,*.log,*.txt,*.jpg,*.cbr" | 51 | COPYMASKS="Covers,covers,*.log,*.txt,*.jpg,*.cbr" |
| @@ -69,13 +68,13 @@ unset PIC INPATH CUE CHARSET · 16 unmodified lines | |||
| 69 | FORCE=0 | 68 | FORCE=0 |
| 70 | 69 | ||
| 71 | # do not forget to update before commit | 70 | # do not forget to update before commit |
| 72 | VERSION=107 | 71 | VERSION=108 |
| 73 | 72 | ||
| 74 | HELP="\${cG}split2flac version: ${VERSION} | 73 | HELP="\${cG}split2flac version: ${VERSION} |
| 75 | Splits one big \${cU}APE/FLAC/WV/WAV\$cZ\$cG audio image (or a collection) into \${cU}FLAC/M4A/MP3/OGG_VORBIS/WAV\$cZ\$cG tracks with tagging and renaming. | 74 | Splits one big \${cU}APE/FLAC/WV/WAV\$cZ\$cG audio image (or a collection) into \${cU}FLAC/M4A/MP3/OGG_VORBIS/WAV\$cZ\$cG tracks with tagging and renaming. |
| 76 | 75 | ||
| 77 | Usage: \${cZ}split2\${FORMAT}.sh [\${cU}OPTIONS\$cZ] \${cU}FILE\$cZ [\${cU}OPTIONS\$cZ]\$cZ | 76 | Usage: \${cZ}split2\${FORMAT} [\${cU}OPTIONS\$cZ] \${cU}FILE\$cZ [\${cU}OPTIONS\$cZ]\$cZ |
| 78 | \${cZ}split2\${FORMAT}.sh [\${cU}OPTIONS\$cZ] \${cU}DIR\$cZ [\${cU}OPTIONS\$cZ]\$cZ | 77 | \${cZ}split2\${FORMAT} [\${cU}OPTIONS\$cZ] \${cU}DIR\$cZ [\${cU}OPTIONS\$cZ]\$cZ |
| 79 | \$cG-p\$cZ - dry run | 78 | \$cG-p\$cZ - dry run |
| 80 | \$cG-o \${cU}DIRECTORY\$cZ \$cR*\$cZ - set output directory (current is \$cP\${DIR}\$cZ) | 79 | \$cG-o \${cU}DIRECTORY\$cZ \$cR*\$cZ - set output directory (current is \$cP\${DIR}\$cZ) |
| 81 | \$cG-of \${cU}'PATTERN'\$cZ \$cR*\$cZ - use specific output naming pattern (current is \$cP'\${OUTPATTERN}'\$cZ) | 80 | \$cG-of \${cU}'PATTERN'\$cZ \$cR*\$cZ - use specific output naming pattern (current is \$cP'\${OUTPATTERN}'\$cZ) |