Add per-song per-station playback counts to dashboard

This commit is contained in:
nate.emmert committed 2026-03-26 08:24:41 -04:00
1 parent fac4b3ebb8
commit 21d34b7562
3 files changed
+43 -5

No files matched your search

+2
View File
@@ -117,6 +117,8 @@ def run_update_job(config=None, dry_run=False, persist_history=True, write_buy_l
songs = scrape_result["songs"]
result["station_breakdown"] = scrape_result["station_results"]
result["scraped_count"] = len(songs)
# Keep scraped songs for history analytics (song play counts per station)
result["scraped_songs"] = songs
try:
plex = connect_to_plex_server(token, server_ip)