[scrobbling] Sometimes we wont have timestamps

This commit is contained in:
2024-02-12 12:11:07 -05:00
parent 2c08336e33
commit 0bbd488f0d
2 changed files with 4 additions and 2 deletions

View File

@ -92,9 +92,10 @@ def check_scrobble_for_finish(
scrobble: "Scrobble", force_to_100=False, force_finish=False
) -> None:
completion_percent = scrobble.media_obj.COMPLETION_PERCENT
if scrobble.media_type == "GeoLocation" and not force_finish:
logger.info(
f"{scrobble.id} not complete, GeoLocs are completed when new one is created"
f"{scrobble.id} not complete, locations are ONLY completed when new one is created"
)
return