sessions / 06465919dd16517f0758d223ae86faef0089d9a2

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

This commit has no recorded session.

diff

ignore whitespace

commit 06465919dd16517f0758d223ae86faef0089d9a2Author: Colin Powell <colin@unbl.ink>Date:   Wed Jun 17 09:20:29 2026 -0400    [trends] Disable concurrent listeningdiff --git a/PROJECT.org b/PROJECT.orgindex df42dde..5e2cf16 100644--- a/PROJECT.org+++ b/PROJECT.org@@ -88,7 +88,7 @@ fetching and simple saving. *** Metadata sources **** Scraper -* Backlog [0/20] :vrobbler:project:personal:+* Backlog [1/21] :vrobbler:project:personal: ** TODO [#C] Create small utility to clean up tracks scrobbled with wonky playback times :bug:music:scrobbles: :PROPERTIES: :ID:       702462cf-d54b-48c6-8a7c-78b8de751deb@@ -590,6 +590,10 @@ We should rename `email_scrobble_board_game` to reflect the fact that it's just a helper method to create board game scrobbles given a json blob. It's independent of the email flow it was originally creatdd for +** DONE [#A] Concurrent listening trend is inefficient and should be disabled :trends:scrobbles:+:PROPERTIES:+:ID:       4aa3b719-6b22-cae9-85f0-fac67b4fc753+:END: * Version 54.0 [3/3] ** DONE [#B] Add peak hour, weekly rhythm and activity dist trends :trends:scrobbles: :PROPERTIES:diff --git a/vrobbler/apps/trends/trends/__init__.py b/vrobbler/apps/trends/trends/__init__.pyindex 92807ea..01656c1 100644--- a/vrobbler/apps/trends/trends/__init__.py+++ b/vrobbler/apps/trends/trends/__init__.py@@ -3,37 +3,34 @@ from trends.trends.activity import (     compute_peak_hours,     compute_weekly_rhythm, )-from trends.trends.concurrent import compute_concurrent_listening, compute_concurrent_reading+from trends.trends.concurrent import (+    compute_concurrent_listening,+    compute_concurrent_reading,+) from trends.trends.reading import compute_reading_pace_vs_activity from trends.trends.trending import compute_trending_up  TREND_REGISTRY = {} + def register(slug):     def decorator(fn):         TREND_REGISTRY[slug] = fn         return fn+     return decorator   compute_activity_distribution = register("activity-distribution")(     compute_activity_distribution )-compute_concurrent_listening = register("concurrent-listening")(-    compute_concurrent_listening-)-compute_concurrent_reading = register("concurrent-reading")(-    compute_concurrent_reading-)-compute_peak_hours = register("peak-hours")(-    compute_peak_hours-)+# compute_concurrent_listening = register("concurrent-listening")(+#    compute_concurrent_listening+# )+compute_concurrent_reading = register("concurrent-reading")(compute_concurrent_reading)+compute_peak_hours = register("peak-hours")(compute_peak_hours) compute_reading_pace_vs_activity = register("reading-pace-vs-activity")(     compute_reading_pace_vs_activity )-compute_trending_up = register("trending-up")(-    compute_trending_up-)-compute_weekly_rhythm = register("weekly-rhythm")(-    compute_weekly_rhythm-)+compute_trending_up = register("trending-up")(compute_trending_up)+compute_weekly_rhythm = register("weekly-rhythm")(compute_weekly_rhythm)