commits
Add per-endpoint Cache for scrobbles and now-playing handlers (capacity
100, TTL 30s). Lookups use retrieve->presentation with retry(3) and 10s
timeout.
Set env.PUBLIC_URL default to http://localhost:8000 and update the auth
client URL/client_id selection to prefer a real public URL unless it
points to localhost.
Only print the "Currently playing" response when the returned data does
not contain both "is_playing" and "context", reducing noisy output for
normal playback responses
Only print the "Currently playing" response when the returned data does
not contain both "is_playing" and "context", reducing noisy output for
normal playback responses
Increase find_spotify_users limit from 100 to 500. Parse token response
as text and use serde_json::from_str to improve error diagnostics; print
raw response on parse failure.
Stop reading genres from the DB row and return an empty list to avoid
deserialization errors
Introduce an optional "names" parameter and propagate it through
lexicon, pkl, TypeScript types, XRPC handler, and analytics types. Also
apply assorted formatting, trailing-comma, and import fixes.
Add trailing newline at end of file
Add trailing newline at end of file
Treat durations within 4 seconds as equivalent when determining recent
plays to avoid false duplicates. Also clean up formatting and add
trailing commas to function parameters for consistency.
Fix SQL by leaving a single conflict target (sha256) to prevent syntax
errors and ensure deduplication by content hash
Handle conflicts on either xata_id or sha256 independently so inserts
are skipped when either key already exists
Add per-endpoint Cache for scrobbles and now-playing handlers (capacity
100, TTL 30s). Lookups use retrieve->presentation with retry(3) and 10s
timeout.
Set env.PUBLIC_URL default to http://localhost:8000 and update the auth
client URL/client_id selection to prefer a real public URL unless it
points to localhost.