[boardgames] Fix bug in bggeek_id
This commit is contained in:
@ -92,7 +92,7 @@ fetching and simple saving.
|
||||
:LOGBOOK:
|
||||
CLOCK: [2025-07-09 Wed 09:55]--[2025-07-09 Wed 10:15] => 0:20
|
||||
:END:
|
||||
* Backlog [3/27]
|
||||
* Backlog [4/27]
|
||||
** TODO [#C] Create small utility to clean up tracks scrobbled with wonky playback times :vrobbler:personal:bug:music:scrobbles:
|
||||
** TODO [#C] Move to using more robust mopidy-webhooks pacakge form pypi :utility:improvement:
|
||||
:PROPERTIES:
|
||||
@ -463,7 +463,10 @@ Turns out we're not looking up music tracks properly, again.
|
||||
:PROPERTIES:
|
||||
:ID: 506c2965-51d6-6cb9-fc4f-4f0468d2d62f
|
||||
:END:
|
||||
** TODO Fix board game lookup with name like Unmatched Game System :vrobbler:bug:boardgames:
|
||||
** DONE Fix board game lookup with name like Unmatched Game System :vrobbler:bug:boardgames:
|
||||
:PROPERTIES:
|
||||
:ID: 57956723-b34a-37ad-fde9-44947cc9bb65
|
||||
:END:
|
||||
** DONE [#A] Fix raw text webpage title not truncating to 254 chars :vrobbler:personal:bug:webpages:
|
||||
:PROPERTIES:
|
||||
:ID: 13fa0efd-2c3f-dd07-deb2-62882096feff
|
||||
|
||||
@ -19,7 +19,7 @@ def lookup_boardgame_from_bgg(title: str) -> dict[str, Any]:
|
||||
game_dict["max_players"] = game.maxplayers
|
||||
game_dict["recommended_age"] = game.minage
|
||||
game_dict["rating"] = game.rating_average
|
||||
game_dict["bgg_id"] = game.id
|
||||
game_dict["bggeek_id"] = game.id
|
||||
game_dict["bgg_rank"] = game.bgg_rank
|
||||
game_dict["base_run_time_seconds"] = (
|
||||
int(game.playingtime) * 60 if game.playingtime else None
|
||||
|
||||
Reference in New Issue
Block a user