subwave: default playlistExhaust=true for created shows, fixes repeats

A playlistStrict show's no-repeat window scales down to a fraction of the
playlist size and disables entirely below 15 tracks (recency.ts's
effectiveNoRepeatWindow) -- every historical-chart playlist this script
builds is well under that (7-30 tracks), so repeats were essentially
unthrottled. playlistExhaust switches to a full-rotation window instead.
Also applied this fix retroactively to all 8 existing shows.

Claude-Session: https://claude.ai/code/session_01L7Rwa6guD5wK8F8tWQwcJX
This commit is contained in:
2026-09-11 22:09:45 +00:00
parent 7ec3dca180
commit d493b60c8b
+7
View File
@@ -342,6 +342,13 @@ def run(args):
"guestPersonaIds": [],
"playlistIds": [playlist_id],
"playlistStrict": True,
# A playlist-pinned show's no-repeat window otherwise scales down to a
# fraction of the playlist size and disables entirely below 15 tracks
# (recency.ts's effectiveNoRepeatWindow) -- every playlist this script
# builds is well under that, so without this flag repeats are
# essentially unthrottled. playlistExhaust switches to a full-rotation
# window instead (nearly the whole playlist must play before a repeat).
"playlistExhaust": True,
"filtersStrict": True,
"moods": [], "genres": [], "energies": [], "eras": [],
"excludedPlaylistIds": [],