Commit Graph
24 Commits
Author SHA1 Message Date
TapTap 43a3ac8f0e build: use the Gradle installed in the build image
CI / test (push) Successful in 1m37s
CI / chart (push) Successful in 2s
CI / image (push) Failing after 3m2s
Avoid downloading the wrapper distribution inside Docker/kaniko builds,
where services.gradle.org may be slow or unreachable.
2026-11-13 14:01:34 +00:00
TapTap a0434d974f ci: build images with kaniko inside the job image
CI / test (push) Successful in 1m37s
CI / chart (push) Successful in 2s
CI / image (push) Failing after 2m42s
The runner does not expose its Docker socket to job containers, so the
image job could not run docker build. Include the kaniko executor in the
CI image and build/push directly from the job; docker login only writes
the registry credentials file.

Bump the CI image tag to 2.
2026-11-13 13:52:49 +00:00
TapTap 4c6f1c8fe8 ci: use a prebuilt image with every pipeline dependency
CI / test (push) Successful in 1m52s
CI / chart (push) Successful in 3s
CI / image (push) Failing after 2s
Add ci/Dockerfile (JDK 21, Gradle 8.14.3, ffmpeg, sqlite3, node,
docker CLI and Helm) and build it as taptap/audiomanager-ci. Workflows
now start from that image instead of downloading a JDK and installing
packages on every run.

The registry namespace is the lowercased package owner `taptap`, not
`tap-tap`; update the chart, workflow and documentation accordingly.
The image build uses plain docker build/push, since the job container
starts with no buildx plugin.
2026-11-13 13:37:15 +00:00
TapTap d812e7644f ci: run smoke in the test job and allow slower wrapper downloads
CI / chart (push) Canceled after 0s
CI / image (push) Canceled after 0s
CI / test (push) Canceled after 12m3s
2026-11-13 13:18:24 +00:00
TapTap e94fdd4f63 ci: give the image job access to the runner Docker socket
CI / smoke (push) Canceled after 0s
CI / chart (push) Canceled after 0s
CI / image (push) Canceled after 0s
CI / test (push) Canceled after 9m9s
2026-11-13 13:13:59 +00:00
TapTap 7d98bc1d3a fix: use a glibc base image for sqlite-jdbc
CI / test (push) Successful in 2m34s
CI / smoke (push) Failing after 1m13s
CI / chart (push) Successful in 14s
CI / image (push) Skipped
Alpine/musl cannot load sqlite-jdbc's bundled native library, so the
container failed at startup. Switch the runtime image to
eclipse-temurin:21-jre-jammy and verify the image end-to-end, including
transcoding, against a read-only root filesystem.

The smoke fixture now uses a 192 kbps source so the maxBitRate check
actually proves transcoding instead of direct play.
2026-11-13 13:12:13 +00:00
TapTap 25331ec0e1 feat: add Docker image, Helm chart and Gitea CI
CI / test (push) Successful in 3m35s
CI / smoke (push) Successful in 3m11s
CI / chart (push) Successful in 14s
CI / image (push) Failing after 5s
- multi-stage Dockerfile with ffmpeg on Alpine JRE 21
- Helm chart for k3s: library ConfigMap, Vault users secret, data PVC,
  read-only hostPath media, ingress, probes and security context
- Gitea Actions runs tests, smoke test and chart lint, then builds and
  pushes the image on main and version tags
2026-11-13 12:56:30 +00:00
TapTap 18a1d7cd19 feat: transcode streams with ffmpeg
- FfmpegTranscoder with maxBitRate, format fallback to MP3 and timeOffset
- direct play when no transcode is required, preserving HTTP Range support
- transcoded responses are chunked audio/mpeg with process cleanup
- unit tests for policy and real ffmpeg output
- smoke test covers maxBitRate, timeOffset and format fallback
2026-11-13 12:53:06 +00:00
TapTap 722f486c3a test: seed album year for by-year feed coverage 2026-11-13 12:49:24 +00:00
TapTap 628d739d4c fix: normalize inverted year ranges in album and random song feeds 2026-11-13 12:49:00 +00:00
TapTap 26d31834a5 feat: add a built-in browser test client
- serve a single-page client at /ui (and redirect / to it)
- login, folder switch, album grid, album songs, search and streaming
- enabled by default, disable with WEB_UI=false
- document the test client and WEB_UI
2026-11-13 12:45:41 +00:00
TapTap 1571ec65ff fix: accept POST form posts on every Subsonic endpoint
Clients that use the formPost extension (Feishin, Symfonium) send requests
as application/x-www-form-urlencoded POSTs, not only GET. Register both
methods for every route and cover it in the smoke test.
2026-11-13 12:42:43 +00:00
TapTap 4d313a2846 feat: add client compatibility endpoints and a smoke test script
- getMusicDirectory for folder/album browsing
- server-side play queues with savePlayQueue/getPlayQueue and index variants
- jukebox status and internet radio compatibility responses
- scripts/smoke.sh generates a tagged MP3 library, runs the server and
  verifies all endpoints clients use, including Range, download and covers
2026-11-13 12:40:00 +00:00
TapTap 46266d8071 feat: add home feeds, interaction endpoints and playlists
- getAlbumList2/getAlbumList, getRandomSongs, getGenres, getSongsByGenre,
  getStarred2/getStarred, artist/album info and similar/top stubs
- scrobble, star/unstar, setRating, bookmarks and lyrics
- playlist create/get/update/delete with ownership and visibility rules
- persist scanned lyrics via V3 migration
- include last-played timestamps in song and album responses
2026-11-13 12:33:10 +00:00
TapTap 43e726628e feat: add getUser and getUsers endpoints
Feishin calls getUser during login to determine roles and folder access.
2026-11-13 12:22:48 +00:00
TapTap 656020f5c1 build: add setupLocal task for local development config 2026-11-13 12:15:31 +00:00
TapTap af2a8bd35d fix: make local development work out of the box
- library.example.yaml now uses relative ./media paths for local runs
- clearer startup errors for missing roots and config files
- ignore the local config/library.yaml override
2026-11-13 12:12:17 +00:00
TapTap f5e247e164 docs: rename README to README.md so Gitea renders it as Markdown 2026-11-13 12:02:08 +00:00
TapTap 405fd07fb3 docs: replace ambiguous Unicode characters in README with ASCII 2026-11-13 12:00:13 +00:00
TapTap 37a5728d6c docs: add how-to-use guide to the README 2026-11-13 11:55:38 +00:00
TapTap 643ee42f09 feat: add browsing and media endpoints
- user-scoped getMusicFolders, getIndexes, getArtists, getArtist,
  getAlbum and getSong
- search3 with pagination, literal matching and empty/wildcard queries
- stream and download with Range support and RFC 5987 filenames
- getCoverArt with cached size variants and visibility checks
- V2 migration for per-user album and artist ratings
2026-11-13 11:53:57 +00:00
TapTap 1f73d901d5 chore: add Nix dev shell with JDK 21, Gradle and ffmpeg 2026-11-13 11:47:10 +00:00
TapTap e194badefb feat: bootstrap MusicManager with scanner and Subsonic auth
- Gradle/Kotlin/Ktor project on JVM 21 with ShadowJar
- SQLite WAL, Flyway migrations and config-driven users/folders
- deterministic IDs, MP3 tag extraction, cover cache and delta scanner
- OpenSubsonic JSON envelope with token/password authentication
- system endpoints: ping, license, extensions, scan status
2026-11-13 11:42:57 +00:00
TapTap 961341b449 first commit 2026-11-13 10:53:22 +00:00