bartok765/galaxy_blizzard_plugin

Overwatch Game time not being tracked?

saitho opened this issue · 3 comments

There are several issues on the GOG issue tracker that reported game time tracking was not working.

Issues before PR #7 which reintroduced game time tracking for Overwatch (might be redundant):

We may have to check that again.

55595 - probably problem with competive as you said. Maybe there is a way to get from current season, then save locally to be able to sum it later..?

Hello, maybe this can help:

2020-07-03 18:09:01,768 - root - DEBUG - Status code: 200
2020-07-03 18:09:01,769 - galaxy.api.plugin - ERROR - Unexpected exception raised in game times importer
Traceback (most recent call last):
File "C:\Users\Marlon\AppData\Local\GOG.com\Galaxy\plugins\installed\battlenet_ba170431-0649-482f-863b-d248592f1842\galaxy\api\plugin.py", line 63, in import_element
element = await self.get(id, context_)
File "C:\Users\Marlon\AppData\Local\GOG.com\Galaxy\plugins\installed\battlenet_ba170431-0649-482f-863b-d248592f1842\plugin.py", line 362, in get_game_time
total_time = await self._get_overwatch_time()
File "C:\Users\Marlon\AppData\Local\GOG.com\Galaxy\plugins\installed\battlenet_ba170431-0649-482f-863b-d248592f1842\plugin.py", line 382, in _get_overwatch_time
qp_time = player_data['playtime']['quickplay']
KeyError: 'quickplay'
2020-07-03 18:09:01,798 - galaxy.api.jsonrpc - INFO - Sending notification: method=game_time_import_failure, params={'game_id': 'prometheus', 'error': {'code': 0, 'message': 'Unknown error'}}

Has something changed in the API?

Looking at the APi request for my profile that data seems to be gone:
https://owapi.io/profile/pc/eu/saitho-2703