Commit Graph

6 Commits

Author SHA1 Message Date
deluan f76b95636a refactor: replace MD5 hash with FNV-1a and remove regex dependency to reduce ndp size 2026-02-24 14:10:26 -05:00
deluan 375dd85b15 refactor: update HTTP request handling to use host.HTTPSend for improved error management 2026-02-24 13:46:56 -05:00
deluan a23e3f1e4d refactor: simplify primary artist resolution and remove unused parsing function 2026-02-23 23:23:53 -05:00
deluan 019fff137d refactor: update status display logic and improve Spotify URL handling 2026-02-23 23:13:30 -05:00
deluan d10ee8588d fix: address code review issues for Spotify and Discord RPC
- Use MD5 hashing for image and Spotify cache keys instead of raw hex
  encoding (rpc.go) and SHA-256 (spotify.go)
- Validate Spotify track IDs with base-62 regex before using in URLs
- Fix buildSpotifySearchURL parameter order to match (artist, title) usage
- Tighten test mock matchers with shared helpers for cache keys and
  external-assets URLs, replacing broad mock.Anything usage
- Update test Spotify IDs to use valid base-62 identifiers
2026-02-23 22:28:13 -05:00
deluan 62df36b870 refactor: clean up integration test files and improve Spotify URL resolution logic 2026-02-23 20:41:35 -05:00