* allow renaming of music videos *IF* music mode has been forced via --db option

This commit is contained in:
Reinhard Pointner 2015-09-29 16:31:28 +00:00
parent 99574e35e4
commit 679aa3e37d
1 changed files with 1 additions and 1 deletions

View File

@ -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 {
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
List<Match<File, ?>> matches = new ArrayList<Match<File, ?>>();