[scrobbles] Exclude geolocs from stop notifications
This commit is contained in:
@ -313,7 +313,7 @@ def send_stop_notifications_for_in_progress_scrobbles() -> int:
|
|||||||
|
|
||||||
scrobbles_in_progress_qs = Scrobble.objects.filter(
|
scrobbles_in_progress_qs = Scrobble.objects.filter(
|
||||||
played_to_completion=False, in_progress=True
|
played_to_completion=False, in_progress=True
|
||||||
)
|
).exclude(media_type=Scrobble.MediaType.GEO_LOCATION)
|
||||||
|
|
||||||
notifications_sent = 0
|
notifications_sent = 0
|
||||||
for scrobble in scrobbles_in_progress_qs:
|
for scrobble in scrobbles_in_progress_qs:
|
||||||
|
|||||||
Reference in New Issue
Block a user