dmadisetti/steam-tui

[Feature Request] Hide games

Spagett1 opened this issue · 6 comments

Inside of steam-tui it shows up games which i dont own,
image
This is the gameslist on steam-tui ^^
and this is my normal steam library vv
image
i've made sure that the games arn't hidden or anything, i realise that you've sorta left this project alone so i understand if you don't put in the time to fix it but just thought id let you know.

Yeahhh! Those are actually free games. I noticed the same thing, but you can actually play them. There's a flag that marks them as "free". But I thought it was almost more of a feature than a bug

Lol, it would be really cool if there where a way to hide games, i might take a look at the source code and see if i can add a feature like that (ive been learning rust recently but not sure how hard it would be since ive never used rust-tui before)

Yeah, you wouldn't have to change the tui code. Youd just need to mark the game as "Default" or something when parsing the response from steam cmd:

game_type: match common.get("driverversion") {

You can do a eprintln on map to see if the identifying "free" information.

Then to make the game visible, we'd change the definition of is_valid:

self.game_type == GameType::Game

This goes somewhat closely with changes needed for #11

@Laar3 related: #35

I like your keybind idea and storing ids in the config.

Yeah, you wouldn't have to change the tui code. Youd just need to mark the game as "Default" or something when parsing the response from steam cmd:

game_type: match common.get("driverversion") {

You can do a eprintln on map to see if the identifying "free" information.

Then to make the game visible, we'd change the definition of is_valid:

self.game_type == GameType::Game

This goes somewhat closely with changes needed for #11

Oh cool, i've managed to remove it from the left list via filtering it out of the games_list variable in the tui code but that had wasn't removing it from the right view pane (they where desyncing so youd have one game "selected" but not really, i'm not sure what variable/vector i would have to filter it out of for it to not appear in the right list.

As for pull #35 if it where me doing it yeah id probably have an installed thing in the config file and store the gameid's of installed ones in there however caching does work too.