Spotify Link-Through & Navidrome Logo Overlay #15

Merged
Woahai321 merged 19 commits from main into main 2026-03-04 10:04:03 -07:00

19 Commits

Author SHA1 Message Date
deluan 56b449b23a chore: update dependencies to latest versions 2026-02-27 19:01:50 -05:00
deluan ac4382ed5e build: update target from wasi to wasip1 for TinyGo compilation 2026-02-24 17:53:51 -05:00
deluan 8b3ed88bcd docs: add links to discord docs 2026-02-24 17:35:47 -05:00
deluan 34acde6210 chore: update screenshot 2026-02-24 14:57:55 -05:00
deluan 4e4b25dafd chore: update Navidrome plugin dependency to latest version 2026-02-24 14:33:25 -05:00
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 df3a426203 feat: add a link to Navidrome's website on the overlay logo 2026-02-23 23:41: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 8a1d37efeb docs: update README to clarify Navidrome logo overlay and add Spotify link-through feature 2026-02-23 22:31:59 -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 04a31978ce test: refactor Spotify tests to use Ginkgo and Gomega for consistency 2026-02-23 22:00:41 -05:00
deluan 49caff0cb7 feat: update status display type based on activity name configuration 2026-02-23 21:57:02 -05:00
deluan 902239759a refactor: simplify processImage by removing recursion and add conditional SmallImage
Remove the recursive fallback pattern from processImage (5 duplicated
branches) and replace with a straight-line flow that returns errors to
the caller. Move fallback orchestration to sendActivity, which now
tries track artwork first, falls back to the Navidrome logo, and only
shows the SmallImage overlay when LargeImage is actual track art.
2026-02-23 21:35:40 -05:00
deluan 480a8a18d7 feat: add Spotify link-through option and remove option to disable ND logo overlay 2026-02-23 21:03:34 -05:00
deluan 3d7d131b9f Merge branch 'main' into fork/Woahai321/main 2026-02-23 20:56:30 -05:00
deluan 62df36b870 refactor: clean up integration test files and improve Spotify URL resolution logic 2026-02-23 20:41:35 -05:00
WoahAI 89c778d62f validated changes 2026-02-22 23:12:59 +00:00