Fix keeping suffix as-is in advanced renaming example
This commit is contained in:
parent
ee7d92f0a7
commit
7105d6310d
|
@ -193,7 +193,10 @@ if (includeTrackInfo && tracks.length > 0) {
|
||||||
|
|
||||||
// append an appropriate suffix
|
// append an appropriate suffix
|
||||||
var suffix = ""
|
var suffix = ""
|
||||||
if (notEmpty(fileInfo.suitableSuffix)) {
|
if (notEmpty(keepSuffix)) {
|
||||||
|
// keep suffix as-is
|
||||||
|
suffix = keepSuffix
|
||||||
|
} else if (notEmpty(fileInfo.suitableSuffix)) {
|
||||||
// get a suitable suffix from the file info object if available
|
// get a suitable suffix from the file info object if available
|
||||||
suffix = fileInfo.suitableSuffix
|
suffix = fileInfo.suitableSuffix
|
||||||
} else if (notEmpty(fileInfo.currentSuffix)) {
|
} else if (notEmpty(fileInfo.currentSuffix)) {
|
||||||
|
|
Loading…
Reference in New Issue