sessions / d9dfec81aad17b48fcf1ec8388e3d249242b814e

/home/powellc/src/code.unbl.ink/secstate/vrobbler

This commit has no recorded session.

diff

ignore whitespace

commit d9dfec81aad17b48fcf1ec8388e3d249242b814eAuthor: Colin Powell <colin@unbl.ink>Date:   Sun Jun 21 23:00:28 2026 -0400    [scrobbles] Fix bug where media list scrobble btns didnt workdiff --git a/vrobbler/apps/scrobbles/constants.py b/vrobbler/apps/scrobbles/constants.pyindex b8a4066..dbffafd 100644--- a/vrobbler/apps/scrobbles/constants.py+++ b/vrobbler/apps/scrobbles/constants.py@@ -25,16 +25,24 @@ AUTO_FINISH_MEDIA = { }  PLAY_AGAIN_MEDIA = {-    "videogames": "VideoGame",+    "videos": "Video",+    "music": "Track",+    "podcasts": "PodcastEpisode",+    "sports": "SportEvent",     "books": "Book",+    "videogames": "VideoGame",     "boardgames": "BoardGame",-    "moods": "Mood",-    "bricksets": "BrickSet",+    "locations": "GeoLocation",     "trails": "Trail",     "beers": "Beer",+    "puzzles": "Puzzle",     "foods": "Food",-    "locations": "GeoLocation",-    "videos": "Video",+    "tasks": "Task",+    "webpages": "WebPage",+    "lifeevents": "LifeEvent",+    "moods": "Mood",+    "bricksets": "BrickSet",+    "channels": "Channel",     "birds": "BirdingLocation",     "discgolf": "DiscGolfCourse", }diff --git a/vrobbler/apps/scrobbles/views.py b/vrobbler/apps/scrobbles/views.pyindex c212e07..e77e907 100644--- a/vrobbler/apps/scrobbles/views.py+++ b/vrobbler/apps/scrobbles/views.py@@ -918,7 +918,7 @@ def scrobble_start(request, media_uuid):             if last_scrobble and last_scrobble.logdata:                 next_page = last_scrobble.logdata.page_end + 1                 log_data = {"page_start": next_page}-        media_obj.scrobble_for_user(user_id, log=log_data)+        scrobble = media_obj.scrobble_for_user(user_id, log=log_data)      if scrobble:         messages.add_message(