mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-25 01:08:52 -05:00
* force lower-case extensions
This commit is contained in:
parent
dd40f467ba
commit
90fb9bbb77
@ -536,7 +536,7 @@ public class CmdlineOperations implements CmdlineInterface {
|
|||||||
|
|
||||||
private File getDestinationFile(File original, String newName, File outputDir) {
|
private File getDestinationFile(File original, String newName, File outputDir) {
|
||||||
String extension = getExtension(original);
|
String extension = getExtension(original);
|
||||||
File newFile = new File(extension != null ? newName + '.' + extension : newName);
|
File newFile = new File(extension != null ? newName + '.' + extension.toLowerCase() : newName);
|
||||||
|
|
||||||
// resolve against output dir
|
// resolve against output dir
|
||||||
if (outputDir != null && !newFile.isAbsolute()) {
|
if (outputDir != null && !newFile.isAbsolute()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user