}
public HashMap<AudioItem, String> doCheckPlaylists() {
Log.getInstance(Controller.class).info("Start checking playlists."); //$NON-NLS-1$
PlaylistChecker playlistChecker = new PlaylistChecker();
ProgressMonitorDialog dialog = new ProgressMonitorDialog(Display.getDefault().getActiveShell());
try {
dialog.run(true, true, playlistChecker);
} catch (InvocationTargetException e) {
Log.getInstance(Controller.class).error(e.getMessage());
} catch (InterruptedException e) {
Log.getInstance(Controller.class).error(e.getMessage());
}
Controller.getInstance().getEventController().fireAudioItemChange(EventConstants.EVT_ITEM_CHANGE_IN_PLAYLIST, null, null);
Log.getInstance(PlaylistController.class).info("End of playlists check."); //$NON-NLS-1$
return playlistChecker.getResults();
}