mirror of
https://github.com/sakaljurgis/kodi-api-server.git
synced 2026-07-08 20:37:41 +00:00
add file scan start log
This commit is contained in:
@@ -25,6 +25,9 @@ export class VideoFilesUpdateService {
|
|||||||
* @param refresh
|
* @param refresh
|
||||||
*/
|
*/
|
||||||
async updateFsVideoFiles(refresh = false): Promise<void> {
|
async updateFsVideoFiles(refresh = false): Promise<void> {
|
||||||
|
console.log(
|
||||||
|
`file scan and update started - ${refresh ? 'full update' : 'only new'}`,
|
||||||
|
);
|
||||||
const [filesInFs, filesToRelativePaths] =
|
const [filesInFs, filesToRelativePaths] =
|
||||||
await this.scanner.scanFsForVideoFiles();
|
await this.scanner.scanFsForVideoFiles();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user