use of org.libresonic.player.service.SettingsService in project libresonic by Libresonic.
the class MetaDataParser method isRoot.
private boolean isRoot(File file) {
SettingsService settings = ServiceLocator.getSettingsService();
List<MusicFolder> folders = settings.getAllMusicFolders(false, true);
for (MusicFolder folder : folders) {
if (file.equals(folder.getPath())) {
return true;
}
}
return false;
}
Aggregations