[locations] Need to be specific to geolocs

This commit is contained in:
2024-02-10 15:29:06 -05:00
parent 75e374bb69
commit 3d1ad8da3a

View File

@ -830,7 +830,7 @@ class Scrobble(TimeStampedModel):
) )
return scrobble.update(scrobble_data) return scrobble.update(scrobble_data)
if scrobble: if scrobble and scrobble.media_type == "GeoLocation":
logger.info( logger.info(
f"[scrobbling] stopping existing scrobble {scrobble.id} before creating new one" f"[scrobbling] stopping existing scrobble {scrobble.id} before creating new one"
) )