feat: added library scan to maintain the library

This commit is contained in:
Michael Green
2023-07-07 09:40:16 +10:00
parent d4eda0b3ea
commit ecfc258cba
4 changed files with 150 additions and 10 deletions

View File

@@ -79,6 +79,12 @@ namespace gaseous_server
Logging.Log(Logging.LogType.Information, "Timered Event", "Starting Library Organiser");
Classes.ImportGame.OrganiseLibrary();
break;
case QueueItemType.LibraryScan:
Logging.Log(Logging.LogType.Information, "Timered Event", "Starting Library Scanner");
Classes.ImportGame.LibraryScan();
break;
}
}
catch (Exception ex)
@@ -107,7 +113,8 @@ namespace gaseous_server
SignatureIngestor,
TitleIngestor,
MetadataRefresh,
OrganiseLibrary
OrganiseLibrary,
LibraryScan
}
public enum QueueItemState