1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-17 06:45:06 -05:00

* fix music rename analytics

This commit is contained in:
Reinhard Pointner 2013-01-11 18:13:57 +00:00
parent 3e4968af8f
commit 06ad9e710f

View File

@ -505,7 +505,7 @@ public class CmdlineOperations implements CmdlineInterface {
}
private List<File> renameMusic(Collection<File> files, RenameAction renameAction, ConflictAction conflictAction, File outputDir, ExpressionFormat format, AcoustID service) throws Exception {
public List<File> renameMusic(Collection<File> files, RenameAction renameAction, ConflictAction conflictAction, File outputDir, ExpressionFormat format, AcoustID service) throws Exception {
// map old files to new paths by applying formatting and validating filenames
Map<File, File> renameMap = new LinkedHashMap<File, File>();
@ -519,7 +519,7 @@ public class CmdlineOperations implements CmdlineInterface {
}
// rename movies
Analytics.trackEvent("CLI", "Rename", "Music", renameMap.size());
Analytics.trackEvent("CLI", "Rename", "AudioTrack", renameMap.size());
return renameAll(renameMap, renameAction, conflictAction);
}