Commit Graph

47 Commits

Author SHA1 Message Date
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 1552322429 build: add support for Standard Go in Makefile and update .gitignore 2026-02-23 20:55:34 -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
deluan 8d07bc6120 ci: also append git SHA to version on push-to-main builds 2026-02-09 14:32:25 -05:00
Deluan Quintão 1a236fd00f ci: append git SHA to manifest version in PR builds (#14) 2026-02-09 14:28:18 -05:00
deluan 223ebf0539 docs: correct attention note for Navidrome version requirement in README 2026-02-08 13:23:09 -05:00
deluan 05714ace50 docs: update user configuration instructions for Discord Rich Presence 2026-02-08 13:05:35 -05:00
github-actions[bot] 4700e15a3c Release v0.3.0 v0.3.0 2026-02-08 17:51:29 +00:00
Daniel Stefani 6b5ca1a54f feat: add configuration option to select Activity Name based on currently playing track (#11) 2026-02-08 12:50:20 -05:00
deluan 24c4c36651 Update README.md 2026-02-07 21:11:02 -05:00
github-actions[bot] 7e94c83a12 Release v0.2.2 v0.2.2 2026-02-08 02:06:24 +00:00
deluan b916c4c8fd Remove release.yml in favor of create-release workflow
Releases are now fully handled by create-release.yml, which is
triggered manually via the GitHub UI or `make release`. The separate
tag-triggered release.yml is no longer needed.
2026-02-07 21:05:05 -05:00
deluan 35fbcbb46e Add build and release steps to create-release workflow
Move the TinyGo build, packaging, and GitHub release creation from
release.yml into create-release.yml. This avoids the GITHUB_TOKEN
limitation where pushes from a workflow don't trigger other workflows.
release.yml is kept as a fallback for manually pushed tags.
2026-02-07 21:04:00 -05:00
github-actions[bot] b68502fc05 Release v0.2.1 v0.2.1 2026-02-08 01:17:52 +00:00
Deluan Quintão a39bcec7b2 Automate manifest.json version updates during release (#9)
Co-authored-by: Claude <noreply@anthropic.com>
2026-02-07 20:17:09 -05:00
deluan 982d3aae29 Update README.md to enhance installation instructions and configuration steps for Discord Rich Presence plugin 2026-02-07 14:41:52 -05:00
Deluan Quintão 758759cda0 Add uguu.se artwork upload for private Navidrome instances (#4) v0.2.0 2026-02-07 14:27:32 -05:00
deluan e84a89809e Update dependencies in go.mod and go.sum 2026-02-07 13:22:09 -05:00
spiffyrob 1b55d869e3 Update README.md (#5) 2026-02-05 14:16:37 -05:00
deluan 2fd55fad1f Update README.md 2026-02-04 21:06:24 -05:00
deluan cfb50e278a Update README.md to add instructions for configuring Discord activity sharing 2026-02-04 18:13:15 -05:00
deluan 86de170469 Add build information to download link comment in PR workflow 2026-02-04 16:57:50 -05:00
deluan eb4c72cfad Update README.md to enhance plugin description and installation instructions 2026-02-04 16:34:50 -05:00
deluan c7430220ec Add screenshot 2026-02-04 16:32:57 -05:00
deluan 121e9a9e88 Update .gitignore to include 'tmp' directory 2026-02-04 11:34:55 -05:00
deluan 26443b7c85 Add LICENSE file with GNU General Public License v3.0 2026-02-03 11:49:14 -05:00
deluan 3d72a5dedf Update README.md to add build and latest release badges 2026-02-03 11:47:40 -05:00
deluan c33486b578 Add schema reference to manifest.json for validation 2026-02-03 11:44:45 -05:00
deluan 92f2ffbd70 Update release target in Makefile to include test step before tagging v0.1.0 2026-02-03 11:26:35 -05:00
deluan fb8fb34a84 Add release target to Makefile for version tagging and pushing 2026-02-03 10:49:08 -05:00
deluan 9a20febb16 Update README.md to reorganize file descriptions and clarify manual build instructions 2026-02-03 10:45:00 -05:00
deluan 38391cd178 Add GitHub Actions workflows for build, release, and PR download link 2026-02-03 10:25:48 -05:00
deluan fc53feccbe Add password format option for token input in manifest.json 2026-02-03 10:25:35 -05:00
deluan cdc693bd7f Initial commit, copy from examples folder 2026-02-02 18:44:59 -05:00