|
@@ -205,7 +205,7 @@ class VideoGame(LongPlayScrobblableMixin):
|
|
|
|
|
|
|
|
@property
|
|
@property
|
|
|
def seconds_for_completion(self) -> int:
|
|
def seconds_for_completion(self) -> int:
|
|
|
- completion_time = self.run_time_ticks
|
|
|
|
|
|
|
+ completion_time = self.run_time_seconds
|
|
|
if not completion_time:
|
|
if not completion_time:
|
|
|
# Default to 10 hours, why not
|
|
# Default to 10 hours, why not
|
|
|
completion_time = 10 * 60 * 60
|
|
completion_time = 10 * 60 * 60
|
|
@@ -237,7 +237,7 @@ class VideoGame(LongPlayScrobblableMixin):
|
|
|
if self.igdb_id:
|
|
if self.igdb_id:
|
|
|
load_game_data_from_igdb(self.id, self.igdb_id)
|
|
load_game_data_from_igdb(self.id, self.igdb_id)
|
|
|
|
|
|
|
|
- if (not self.run_time_ticks or force_update) and self.main_story_time:
|
|
|
|
|
|
|
+ if force_update and self.main_story_time:
|
|
|
self.run_time_seconds = self.main_story_time
|
|
self.run_time_seconds = self.main_story_time
|
|
|
self.save(update_fields=["run_time_seconds"])
|
|
self.save(update_fields=["run_time_seconds"])
|
|
|
|
|
|