-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Feature Request] Hybrid Scan (database with manual fallback) #10952
Comments
Really needed feature |
@hizzlekizzle This can never work in the way you intend, for one simple reason: if a file doesn't match the database, then it is impossible to know the name of the playlist to which it should be added! So the current database scanner simply cannot handle non-matching files. What we can do, however, is add a 'search database' option to the manual scanner. So if the user provides a system name corresponding to a database, then it will check for a match as each file is scanned and grab the info if it can, or just fallback to the current behaviour if not. Once this feature is in place, I would be inclined to depreciate the existing database scanner, and promote the manual scan as the 'default' option. I can certainly put this on my TODO list. I won't give an ETA, though, as I'd need to have a proper look at the database code before attempting to start any sort of implementation... |
Maybe it could be implemented in the directory scanner like this:
So we'd have the directory scanner for a "quick and simple" hybrid scan if a db file is selected, and the manual scanner for a much more precise scan. Mockups to get a better idea: |
This PR is related, as it improves the serial scanning code: #10291 |
@jdgleaver Ah, yes, that's a very good point about not knowing the playlist. It occurred to me after I made the ticket and I went over a few possible solutions in my mind, but none of them were good lol I think your proposal makes for a good, intuitive workflow, making the most widely desirable behavior the default and then whittling that down if required on an individual basis. I agree with deprecating the old process, too, as I can't really imagine any situation where it's better (though I'm sure someone will tell us noisily about it after it's deprecated...). I appreciate you wanting to take it on. No hurry, of course, as I know your plate is quite full already. |
Description
Currently, you can do a standard database scan or you can do a manual scan that bypasses the databases. If you have games that don't match the databases, you have to do a full manual scan because there's no way to easily discern which games were identified successfully against the databases and which were skipped (i.e., to come back through and manually scan them).
Ideally, when a file does not match against the databases, it would fall back to the manual scan method for that one file and then return to the database scanning for subsequent files, so everything makes it into a playlist and files that match the databases gain the benefits for a proper scan.
Expected behavior
Files are matched when possible and simply added by name if not.
Actual behavior
Either they get scanned and missed (database scan) or they get added without the chance of a real match (manual scan)
Steps to reproduce the bug
Bisect Results
always
Version/Commit
You can find this information under Information/System Information
Environment information
@jdgleaver : I don't expect you to work on this, but do you know of anything that makes this unfavorable and/or impossible to implement?
The text was updated successfully, but these errors were encountered: