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 @@
1#!/bin/sh1#!/bin/sh
2# Copyright (c) 2009-2013 Serge "ftrvxmtrx" Ziryukin2# Copyright (c) 2009-2014 Serge "ftrvxmtrx" Ziryukin
3#3#
4# Permission is hereby granted, free of charge, to any person obtaining4# Permission is hereby granted, free of charge, to any person obtaining
5# a copy of this software and associated documentation files (the5# a copy of this software and associated documentation files (the
@@ -67,7 +67,7 @@ unset PIC INPATH CUE CHARSET · 61 unmodified lines
67FORCE=067FORCE=0
68 68
69# do not forget to update before commit69# do not forget to update before commit
70VERSION=11470VERSION=115
71 71
72HELP="\${cG}split2flac version: ${VERSION}72HELP="\${cG}split2flac version: ${VERSION}
73Splits 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.73Splits 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
384 unset PIC384 unset PIC
385 elif [ -z "${PIC}" ]; then385 elif [ -z "${PIC}" ]; then
386 # try common names386 # try common names
387 for i in cover.jpg front_cover.jpg folder.jpg; do387 for i in {*/,}{*[Cc]over*,*[Ff]older*}.jpg; do
388 if [ -r "${SDIR}/$i" ]; then388 if [ -r "${SDIR}/$i" ]; then
389 PIC="${SDIR}/$i"389 PIC="${SDIR}/$i"
390 break390 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