History

add genre to the naming pattern update chain

Serge Zirukin committed 15 years ago

Commit 86c461d1 parent a621d8d1 file · +2 −1Browse files

Unified · Split

split2flac.sh+2−1
@@ -66,7 +66,7 @@ unset PIC INPATH CUE CHARSET · 65 unmodified lines
6666 FORCE=0
6767
6868 # do not forget to update before commit
69−VERSION=93
69+VERSION=94
7070
7171 HELP="\${cG}split2flac version: ${VERSION}
7272 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.
@@ -420,6 +420,7 @@ split_file () { · 347 unmodified lines
420420 DIR_ALBUM=$(echo "${TAG_ALBUM}" | ${VALIDATE})
421421 PATTERN=$(update_pattern "${OUTPATTERN}" "artist" "${DIR_ARTIST}")
422422 PATTERN=$(update_pattern "${PATTERN}" "album" "${DIR_ALBUM}")
423+ PATTERN=$(update_pattern "${PATTERN}" "genre" "${TAG_GENRE}")
423424 PATTERN=$(update_pattern "${PATTERN}" "year" "${TAG_DATE}")
424425 PATTERN=$(update_pattern "${PATTERN}" "ext" "${FORMAT}")
425426

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