Commit Graph

37 Commits

Author SHA1 Message Date
deluan bb7d6aaa5e test: use JSON unmarshalling for truncation test assertions
Replace fragile strings.Contains checks with proper JSON unmarshalling
to validate truncated fields by their exact values and verify URL fields
are correctly omitted.
2026-03-04 12:44:24 -05:00
deluan 2f846f2a87 fix: truncate long activity fields before sending to Discord
Apply truncateText to Name, Details, State, and LargeText fields.
Apply truncateURL to DetailsURL, StateURL, LargeURL, and SmallURL fields.
This prevents Discord from silently rejecting the entire presence update.
Fixes #16
2026-03-04 12:23:12 -05:00
deluan c5af3c1d63 feat: add truncateText and truncateURL helpers for Discord field limits
Discord silently rejects presence updates when text fields exceed 128
characters or URL fields exceed 256 characters. Fixes #16
2026-03-04 12:23:12 -05:00
deluan c22b950be3 docs: update screenshot 2026-03-04 12:09:12 -05:00
WoahAI f96884e3e5 Spotify Link-Through & Navidrome Logo Overlay (#15)
Co-authored-by: deluan <deluan@deluan.com>
2026-03-04 12:04:03 -05:00
deluan 1552322429 build: add support for Standard Go in Makefile and update .gitignore 2026-02-23 20:55:34 -05: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