History

better cover images matching. Fixes #19

Serge Ziryukin committed 11 years ago

Commit c40cf7e1 parent 4fe3bc51 file · +3 −3Browse files

Unified · Split

split2flac+3−3
@@ -1,5 +1,5 @@
11 #!/bin/sh
2−# Copyright (c) 2009-2013 Serge "ftrvxmtrx" Ziryukin
2+# Copyright (c) 2009-2014 Serge "ftrvxmtrx" Ziryukin
33 #
44 # Permission is hereby granted, free of charge, to any person obtaining
55 # a copy of this software and associated documentation files (the
@@ -67,7 +67,7 @@ unset PIC INPATH CUE CHARSET · 61 unmodified lines
6767 FORCE=0
6868
6969 # do not forget to update before commit
70−VERSION=114
70+VERSION=115
7171
7272 HELP="\${cG}split2flac version: ${VERSION}
7373 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.
@@ -384,7 +384,7 @@ split_file () { · 310 unmodified lines
384384 unset PIC
385385 elif [ -z "${PIC}" ]; then
386386 # try common names
387− for i in cover.jpg front_cover.jpg folder.jpg; do
387+ for i in {*/,}{*[Cc]over*,*[Ff]older*}.jpg; do
388388 if [ -r "${SDIR}/$i" ]; then
389389 PIC="${SDIR}/$i"
390390 break

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