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

SteamGridDB: Add --search-name option to commandlineGetSteamGridDBArtwork #938

Merged
merged 2 commits into from
Oct 17, 2023

Conversation

sonic2kk
Copy link
Owner

@sonic2kk sonic2kk commented Oct 17, 2023

Another piece for #933.

This PR adds a --search-name flag to the commandlineGetSteamGridDBArtwork function. This uses the standalone function to search SteamGridDB for a Game ID using the Game Name, added in #937.

When --search-name is passed, since we'll be using the SteamGridDB Game ID, the user must provide the AppID for the game to use in the filename with --filename-appid. Otherwise we won't be able to save the file with the correct AppID.

Also when this flag is passed, we force use the SteamGridDB game endpoint, so the user doesn't have to pass --nonsteam (it's fine if they do, it will simply be ignored).

Tested this with "Doki Doki Literature Club" and it worked no problem.

TODO:

  • Update helpscreen
  • Update wiki

@sonic2kk
Copy link
Owner Author

SteamGridDB wiki page has been updated.

@sonic2kk sonic2kk merged commit b0ef25c into master Oct 17, 2023
@sonic2kk sonic2kk deleted the sgdb-cmd-namesearch branch October 18, 2023 18:26
@sonic2kk sonic2kk linked an issue Oct 23, 2023 that may be closed by this pull request
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Overhaul SteamGridDB Integration
1 participant