Unified · Split
| @@ -35,7 +35,7 @@ · 34 unmodified lines | |||
| 35 | # 3 - something has failed | 35 | # 3 - something has failed |
| 36 | 36 | ||
| 37 | CONFIG="${HOME}/.split2flac" | 37 | CONFIG="${HOME}/.split2flac" |
| 38 | TMPCUE="${HOME}/.split2flac_sheet.cue" | 38 | TMPCUE="${HOME}/.split2flac_XXXXX.cue" |
| 39 | TMPPIC="${HOME}/.split2flac_cover.jpg" | 39 | TMPPIC="${HOME}/.split2flac_cover.jpg" |
| 40 | FAILED="split_failed.txt" | 40 | FAILED="split_failed.txt" |
| 41 | 41 | ||
| @@ -68,7 +68,7 @@ unset PIC INPATH CUE CHARSET · 26 unmodified lines | |||
| 68 | FORCE=0 | 68 | FORCE=0 |
| 69 | 69 | ||
| 70 | # do not forget to update before commit | 70 | # do not forget to update before commit |
| 71 | VERSION=100 | 71 | VERSION=101 |
| 72 | 72 | ||
| 73 | HELP="\${cG}split2flac version: ${VERSION} | 73 | HELP="\${cG}split2flac version: ${VERSION} |
| 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. | 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. |
| @@ -294,6 +294,7 @@ split_file () { · 219 unmodified lines | |||
| 294 | 294 | ||
| 295 | if [ -n "${CUESHEET}" ]; then | 295 | if [ -n "${CUESHEET}" ]; then |
| 296 | $msg "${cP}Found internal cue sheet$cZ\n" | 296 | $msg "${cP}Found internal cue sheet$cZ\n" |
| 297 | TMPCUE=$(mktemp "${TMPCUE}") | ||
| 297 | CUE="${TMPCUE}" | 298 | CUE="${TMPCUE}" |
| 298 | echo "${CUESHEET}" > "${CUE}" | 299 | echo "${CUESHEET}" > "${CUE}" |
| 299 | 300 | ||