From 0cd95036dad93ceb542219fb88e8da3722864239 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Tue, 12 Mar 2024 17:12:36 -0400 Subject: [PATCH] [scrobbling] Fix creation of new location scrobbles --- vrobbler/apps/scrobbles/scrobblers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vrobbler/apps/scrobbles/scrobblers.py b/vrobbler/apps/scrobbles/scrobblers.py index 770c932..f8af23c 100644 --- a/vrobbler/apps/scrobbles/scrobblers.py +++ b/vrobbler/apps/scrobbles/scrobblers.py @@ -351,6 +351,7 @@ def gpslogger_scrobble_location(data_dict: dict, user_id: int) -> Scrobble: "user_id": user_id, "timestamp": pendulum.parse(data_dict.get("time", timezone.now())), "source": "GPSLogger", + "media_type": Scrobble.MediaType.GEO_LOCATION, } scrobble = Scrobble.create_or_update_location(