Comments (8)
@eddie3 Gentle bump on this -- is this something that you're aware of?
# Parse out the interesting fields and add to items dict
for item_json_data in json_data['products']:
# skip games marked as hidden
if item_json_data.get('isHidden', False) is True:
continue
This code doesn't seem to actually make the program skip hidden games. I verified this by deleting and regenerating the manifest; games that are marked as hidden in my library were scanned and logged.
Stripping , False
from the conditional didn't seem to fix anything.
from gogrepo.
I recently stumbled upon this project and am giving it my first trial, so I'm not the creator but thought I'd chime in;
I marked multiple demos/free games (how do those even end up in your library? I certainly never added these gogrepo
with a debugger to see what's going on exactly. It does seem like the isHidden
check works as intended, at least on my end.
Are you running the update command with any additional arguments? It might be worth to try with as few flags as possible just to see if that helps solve your problem. If it helps, in my test I ran it with -os windows linux mac
as-well as without this argument altogether. I didn't use any other arguments.
from gogrepo.
Are you running the update command with any additional arguments?
No, I'm running with zero arguments, with several games marked as hidden through GOG Galaxy. There does not seem to be functionality at GOG's website to do so.
Despite this, games marked as hidden in GOG Galaxy are still showing up in the verify output as missing. I even checked to see if one of my edits to the verify function was causing it to misreport, but it's not so.
Edit: just to make absolutely certain, I've just blown away the entire manifest and am regenerating it, though the update command ought to regenerate it anyway.
How are you marking the games as hidden?
from gogrepo.
I used the "hide game" option that can be found in the sub-menu (or "more" menu on the expanded game view) on your account page:
If you use the hide feature in GOG Galaxy, do the games end up hidden on this account page view too for you? In my case they all appear under the "hidden" filter view (found by clicking on the "my collection" title at the top of the list). If not, perhaps GOG Galaxy's hide feature is something separate? I don't actually use GOG Galaxy as there's no native linux version for it, so I can't check this myself.
Edit: Actually, I think you're right. Somehow I do think hidden games end up in the manifest file after all. I'm running an initial download at the moment and I just checked the manifest file and it contains all the games I had marked as hidden. How odd.
Edit 2: @ToxiClay are you by any chance running this tool using krautit's docker container?
from gogrepo.
I used the "hide game" option that can be found in the sub-menu (or "more" menu on the expanded game view) on your account page:
Ah! That's it! That's the reason. Or, at least, possibly? For at least one title?
And no, I am not running the tool through a docker container, but rather natively through Windows.
E:\GOG Repository>gogrepo.py update -id cris_tales_demo
01:27:55 | loading local manifest...
01:27:55 | fetching game product data (page 1)...
01:27:56 | fetching game product data (page 2 / 2)...
01:27:57 | game id "cris_tales_demo" was not found in your product data
01:27:57 | --
01:27:57 | total time: 0:00:01.282000
01:27:57 | exiting...
E:\GOG Repository>gogrepo.py update -id cris_tales_demo
01:28:11 | loading local manifest...
01:28:12 | fetching game product data (page 1)...
01:28:12 | found "cris_tales_demo" in product data!
01:28:12 | (1 / 1) fetching game details for cris_tales_demo...
01:28:18 | saving manifest...
01:28:18 | --
01:28:18 | total time: 0:00:06.512000
01:28:18 | exiting...
E:\GOG Repository>gogrepo.py update -id cris_tales_demo
01:28:27 | loading local manifest...
01:28:27 | fetching game product data (page 1)...
01:28:28 | fetching game product data (page 2 / 2)...
01:28:28 | game id "cris_tales_demo" was not found in your product data
01:28:28 | --
01:28:28 | total time: 0:00:01.136000
01:28:28 | exiting...
from gogrepo.
Ah! That's it! That's the reason. Or, at least, possibly? For at least one title?
Yeah I think that's it. I am re-running the update
command locally (both using the docker container as-well as directly on my machine) and it's properly honoring the hidden flag. I think I jumped the gun with my earlier update, it does seem to work correctly if the website's hidden option is used.
So.. is GOG Galaxy's hide option just completely separate? What an odd design choice that would be
from gogrepo.
So.. is GOG Galaxy's hide option just completely separate? What an odd design choice that would be
🤔
That...almost has to be it. Like, I can hide a game that I haven't installed, and it feels like that change should propagate back to GOG proper. It's super bizarre the way they've chosen to do it.
I'll be sure to include a note to this effect in my copy of the repo tool before I make another PR.
from gogrepo.
Will ensure this works in my rewrite. Thanks for reporting.
from gogrepo.
Related Issues (20)
- Login Fails HOT 4
- HTTP Error 403: Forbidden after update -os windows -lang en de -skipknown HOT 48
- Apply os and language filters on download HOT 3
- "login failed, verify your username/password and try again." error HOT 8
- Game download randomly stops HOT 5
- [enhancement] Skip already verified HOT 2
- Python3 support HOT 2
- Download only new/updated HOT 1
- Unable to Verify games with Windows directory specified HOT 2
- Multiple directories / hard-drives HOT 2
- Unknown threading error HOT 1
- xml parsing error occurred trying to get md5 data for .... HOT 12
- XML Parsing Error HOT 3
- Login always fails with "cannot continue, gog is asking for a reCAPTCHA :( try again in a few minutes." HOT 14
- XML error has reappeared HOT 2
- Add a flag to not download/save patch files HOT 5
- Download/Unicode error HOT 2
- Fix ValueError: invalid mode: 'rUb' HOT 5
- SyntaxError: EOL while scanning string literal
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gogrepo.