Explorar o código

Add metadata fixing to video games

Colin Powell %!s(int64=2) %!d(string=hai) anos
pai
achega
b96683b3ad
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      vrobbler/apps/videogames/utils.py

+ 1 - 0
vrobbler/apps/videogames/utils.py

@@ -50,6 +50,7 @@ def get_or_create_videogame(
                 fname = f"{game.title}_cover_{game.uuid}.jpg"
                 game.hltb_cover.save(fname, ContentFile(r.content), save=True)
                 logger.debug("Loaded cover image from HLtB")
+        game.fix_metadata()
 
     return game