adsfolio.gui.refresh_job

Run a local library refresh without blocking the GUI.

class adsfolio.gui.refresh_job.LibraryRefreshJob(root, recursive, parent=None)[source]

Bases: PySide6.QtCore.QObject

Expose a local scan through the GUI’s existing job lifecycle.

Parameters:
cancel()[source]

Stop at the next file or directory boundary.

Return type:

None

failed
finished
output
refreshed
property running: bool[source]

Return whether the scan is still pending completion.

start()[source]

Start the scan once.

Return type:

None

staticMetaObject = PySide6.QtCore.QMetaObject("LibraryRefreshJob" inherits "QObject": Methods:   #4 type=Signal, signature=output(QString), parameters=QString   #5 type=Signal, signature=failed(QString), parameters=QString   #6 type=Signal, signature=finished(int), parameters=int   #7 type=Signal, signature=refreshed(PyObject), parameters=PyObject   #8 type=Slot, signature=_complete() )