def rescan_photos(self, paths): missing = missing_system_dependencies([ 'exiftool', ]) if missing: print('Missing dependencies: {}'.format(missing)) exit(1) for path in paths: import_photos_in_place(path)
def rescan(self): from photonix.photos.utils.organise import import_photos_in_place if self.type == 'St' and self.backend_type == 'Lo': import_photos_in_place(self)
def rescan_photos(message): paths = [item['PATH'] for item in settings.PHOTO_OUTPUT_DIRS] for path in paths: import_photos_in_place(path)