Add hooks functionality

This commit is contained in:
Ben Sarmiento
2023-10-28 13:19:32 +02:00
parent a9d017f481
commit 1cb7873a3b
5 changed files with 79 additions and 28 deletions

View File

@@ -202,6 +202,7 @@ func (t *TorrentManager) startRefreshJob() {
go t.repairAll(&wg)
}
go t.mapToDirectories()
go OnLibraryUpdateHook(t.config)
}
}