New cli options to use lutris service_games #365
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to #290
I had the same desire to see all my games in Steam, mostly so I could use deckroulette on them. Lutris seemed like an easy linux based option, so I submitted a pull request to add a new CLI option to Lutris that would extract all of a users games, whether they're installed or not.
lutris/lutris#4990
It uses a different table in Lutris so the fields returned are slightly different, but the same
-o
and-j
arguments still work. I've prepared this pull request in case you're interested in adopting the new CLI option, though given the changes if you are interested it might be best to wait until they next put out a release.List of changes:
-a
option on the Lutris CLI which returns items from theservice_games
table instead of gamesservice_games
tablelutris:{game_name}
as this installs the game via Lutris, or plays it if already installed.Please let me know what you think, or if you'd like any changes made.
I was also considering a change to the
Shortcut
object in https://github.com/PhilipK/steam_shortcuts_util/blob/main/src/shortcut.rs to add a field for service like GOG or EGS to help distinguish if you have the same game across multiple services in Lutris/Playnite etc. It could be set to the name of the platform for single service platforms and be shown next to the game title in BoilR.