Conversation
…ion filter
Bug 1 (main.py): _generate_hybrid_daily_mix was slicing songs[:30] before
passing to _process_recommendations. Since _is_duplicate() both checks AND
adds to self.processed_songs, later playlists with overlapping genres would
have all 30 of their songs already flagged as duplicates -> 0 songs added.
Fix: return the full pool so _process_recommendations can iterate past
duplicates and still fill max_songs=30.
Bug 2 (listenbrainz.py): get_created_for_you_playlists() was filtering for
top-level 'id' and 'name' keys, but the ListenBrainz API returns JSPF format
where each playlist is wrapped as {"playlist": {"title": ..., "identifier": ...}}.
No playlists ever passed the filter -> always 0 playlists found.
Fix: validate against the correct nested structure.
- Rewrote _process_recommendations with per-playlist dedup (Set), up to 3 download rounds, similar-song check, and a 5x candidate pool so every playlist can independently reach max_songs even when earlier playlists already consumed popular tracks. - Fixed AudioMuse prompt loop: now accumulates unique songs across prompt variants instead of overwriting with each attempt, ensuring the full songs_per_mix quota is filled from variant results.
Added optional mbid parameter to search_song method for MusicBrainz ID lookup.
Added a buffer to the number of LLM songs requested to account for version mismatches and download failures.
Added filtering for unexpected playlists returned by AI.
Updated the default value for PERF_DOWNLOAD_DELAY from 6 to 10 seconds.
Updated performance parameters for download and post-scan delays.
Update env variables
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.