Ver Fonte

[scrobbling] Fix creation of new location scrobbles

Colin Powell há 1 ano atrás
pai
commit
0cd95036da
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      vrobbler/apps/scrobbles/scrobblers.py

+ 1 - 0
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(