* allow renaming of music videos *IF* music mode has been forced via --db option
This commit is contained in:
parent
99574e35e4
commit
679aa3e37d
|
@ -514,7 +514,7 @@ public class CmdlineOperations implements CmdlineInterface {
|
||||||
|
|
||||||
public List<File> renameMusic(Collection<File> files, RenameAction renameAction, ConflictAction conflictAction, File outputDir, ExpressionFormat format, MusicIdentificationService service) throws Exception {
|
public List<File> renameMusic(Collection<File> files, RenameAction renameAction, ConflictAction conflictAction, File outputDir, ExpressionFormat format, MusicIdentificationService service) throws Exception {
|
||||||
CLILogger.config(format("Rename music using [%s]", service.getName()));
|
CLILogger.config(format("Rename music using [%s]", service.getName()));
|
||||||
List<File> audioFiles = sortByUniquePath(filter(files, AUDIO_FILES));
|
List<File> audioFiles = sortByUniquePath(filter(files, AUDIO_FILES, VIDEO_FILES));
|
||||||
|
|
||||||
// check audio files against acoustid
|
// check audio files against acoustid
|
||||||
List<Match<File, ?>> matches = new ArrayList<Match<File, ?>>();
|
List<Match<File, ?>> matches = new ArrayList<Match<File, ?>>();
|
||||||
|
|
Loading…
Reference in New Issue