Skip to content

player: Spotify caching, year ranges, user-data completions#2235

Merged
robgruen merged 6 commits intomainfrom
dev/robgruen/TODO/player
Apr 23, 2026
Merged

player: Spotify caching, year ranges, user-data completions#2235
robgruen merged 6 commits intomainfrom
dev/robgruen/TODO/player

Conversation

@robgruen
Copy link
Copy Markdown
Collaborator

  • Cache Spotify genre search results in findTracksWithGenre
  • Year-range support in Spotify track year filter
  • player/userData: return playlist names in getUserDataCompletions
  • Jest infra + tests

Split from #2210.

robgruen and others added 4 commits April 22, 2026 14:05
The playlist branch was an empty stub — playlists were silently omitted
from completions. Now returns all playlist names in API order (no timestamp
field is available on PlaylistObjectSimplified).

Adds jest infrastructure and userData.spec.ts with 5 tests covering
playlist flag off/on, undefined playlists, combined track+playlist output,
and track timestamp sorting.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Module-level map avoids repeated API calls for the same genre across
different invocations. Also removes stale spelunker/eval TODO entry
(already implemented via eval-config.json file reading).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
When users filter by year range (e.g. "year:1990-2000"), the tokenizer
splits the input into "1990 - 2000". The Year constraint now detects
this pattern and performs an inclusive range check against the track's
release year rather than a substring match.

Also removes stale TODO.md entries for queryInterface.ts and
pdfQNAInteractiveApp.ts that were already implemented.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 22, 2026

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • www.electronjs.org
    • Triggering command: /usr/local/bin/node /usr/local/bin/node /home/REDACTED/work/TypeAgent/TypeAgent/ts/node_modules/.pnpm/@electron&#43;rebuild@4.0.3/node_modules/@electron/rebuild/lib/module-type/node-gyp/worker.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

@robgruen robgruen temporarily deployed to development-fork April 22, 2026 23:21 — with GitHub Actions Inactive
@robgruen robgruen temporarily deployed to development-fork April 22, 2026 23:58 — with GitHub Actions Inactive
@robgruen robgruen added this pull request to the merge queue Apr 23, 2026
Merged via the queue into main with commit 3ee88f9 Apr 23, 2026
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants