Closed Bertaz closed 4 years ago
I analyzed the log a little bit, there are currently 98 games in the trove: and the integration finds 94, so it's actually skipping the recently added.
I found the GameIDs, 5 of the 7 not showing up are "type": "spam"
so it's a galaxy problem, but the remaining 2 are "type": "dlc"
.
They are avadon3_hintbookandbonuses_trove
dlc of avadon3_thewarborn_trove
& starwars_xwingvstiefighter_trove
dlc of itself. Ideally they should show up in the game they are dlc for.
I'm getting trove games from https://www.humblebundle.com/api/v1/trove/chunk?index=0 https://www.humblebundle.com/api/v1/trove/chunk?index=1 https://www.humblebundle.com/api/v1/trove/chunk?index=2 https://www.humblebundle.com/api/v1/trove/chunk?index=3 https://www.humblebundle.com/api/v1/trove/chunk?index=4 Currently there is 94 in total, those reported by plugin. Could you help me find which are thsoe 4 lacking titles? Are they present on https://www.humblebundle.com/subscription/trove ?
EDIT Are they those 4 recently added?
starwars_xwingvstiefighter_trove dlc of itself.
What do you mean?
Currently there is 94 in total, those reported by plugin. Could you help me find which are thsoe 4 lacking titles? Are they present on https://www.humblebundle.com/subscription/trove?
EDIT Are they those 4 recently added?
Exactly, you can see them in the image in the opening comment. The one with the strange font is called Arrog. As those api calls don't report them I guess this is a HB bug. Would you mind reporting it to HB? As I guess you would be more detailed in the report than me.
starwars_xwingvstiefighter_trove dlc of itself.
What do you mean?
If you go to gamesdb.gog/starwars_xwingvstiefighter you can see that starwars_xwingvstiefighter_trove
(it is the base game + the dlc) has type: dlc with parent id: null. I'm not sure if it's gog's fault, either way I reported it on mantis2 with the spam games.
If you go to gamesdb.gog/starwars_xwingvstiefighter you can see that starwars_xwingvstiefighter_trove (it is the base game + the dlc) has type: dlc with parent id: null. I'm not sure if it's gog's fault, either way I reported it on mantis2 with the spam games.
Right.
As those api calls don't report them I guess this is a HB bug. Would you mind reporting it to HB?
I afraid its not a bug, but humble page get those information from somewhere else. Additionally I see that https://www.humblebundle.com/subscription/trove do not ask for https://www.humblebundle.com/api/v1/trove/chunk?index=0 (the newest games lies there) Only chunks 1-4.
Maybe I need to research the javascript there... Any help appreciated
I think HB has fixed this on the API side as the newly added games are now available in chunk 1 and listed in GOG. The only problem left now is games being marked as spam.
I afraid its not a bug, but humble page get those information from somewhere else. Additionally I see that https://www.humblebundle.com/subscription/trove do not ask for https://www.humblebundle.com/api/v1/trove/chunk?index=0 (the newest games lies there) Only chunks 1-4.
The data from chunk 0 (plus some additional metadata about newly added games) is already embedded in the HTML page inside a script tag labelled "webpack-monthly-trove-data". That's probably why it doesn't request chunk 0.
Thanks for help @ayush-j, I've added PR. The info in json you've found contains also:
"countdownTimerOptions": {
"currentTime": "2019-12-30T20:48:37.105434",
"nextAdditionTime": "2020-01-10T18:00:00"
},
Let us see if at 2020-01-10 the problem will come back for fresh trove content. I so, I'll merge.
PS there are also 2 things to consider:
New January trove games: "Unarallel" and "Flames in the flood" are shown only in "recent" games on the webpage.
Merging changes - will be released on 0.6.0 soon :)
Thanks for contributing!
Describe the bug Some games from the trove don't show up in the integration. Not sure if caused by gogcom/galaxy-integrations-python-api#72, because I can't find the Game ID. Right now there are 98 games in the trove, the integration shows only 87 so 11 are missing, all of the newly added: plus some others like Operator.
Steps to reproduce: Edit config.ini to only show trove games > Sync Integration
Expected behavior All the trove games should be added by the integration and show up in gog galaxy.
Plugin installed Directly from Galaxy
Provide logs plugin-humble-logs.zip