Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Autoscanning when new games are added #2

Open
JMTK opened this issue Mar 25, 2023 · 2 comments
Open

Implement Autoscanning when new games are added #2

JMTK opened this issue Mar 25, 2023 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@JMTK
Copy link
Owner

JMTK commented Mar 25, 2023

Problem

Right now you have to manually re-run this any time a new game is added

Solution

Implement this as a scheduled task/Windows Service/background task that can periodically scan for new apps and add them

@JMTK JMTK added enhancement New feature or request good first issue Good for newcomers labels Mar 25, 2023
@profgyuri
Copy link

Hi! I think this issue could benefit from using FileSystemWatcher class, but the scanning logic should be seperated just so it can be reused in multiple places, because (if I'm correct) it currently scans all or nothing and my proposed solution would scan the newly added folder only.

@JMTK
Copy link
Owner Author

JMTK commented Mar 27, 2023

That makes sense. If it was FileSystemWatcher it would have to be running as a service constantly in the background, or at least just re-running the main function periodically since it is already incremental

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants