int lms_free(lms_t *lms)
int lms_process(lms_t *lms, char *top_path)
int lms_check(lms_t *lms, char *top_path)
+ void lms_stop_processing(lms_t *lms)
int lms_is_processing(lms_t *lms)
int lms_get_slave_timeout(lms_t *lms)
void lms_set_slave_timeout(lms_t *lms, int ms)
raise ValueError("LightMediaScanner is shallow.")
return bool(lms_is_processing(self.obj))
+ def stop_processing(self):
+ "Stop process/check"
+ if self.obj == NULL:
+ raise ValueError("LightMediaScanner is shallow.")
+ lms_stop_processing(self.obj)
+
def get_slave_timeout(self):
"@rtype: int"
if self.obj == NULL: