Commit Graph
17 Commits
Author SHA1 Message Date
TapTap 0df1da7cf7 feat: keep radio playing when a small library is exhausted
CI / chart (push) Successful in 2s
CI / chart-push (push) Successful in 3s
CI / test (push) Successful in 1m49s
CI / image (push) Successful in 3m14s
A mood with fewer tracks than a batch used to return an empty queue once the
session had heard everything. Allow controlled replay of already-heard tracks
once no unheard candidates remain, while still never repeating a track inside
one batch and never leaving the owner's music folders.
2026-11-14 19:44:20 +00:00
TapTap bf6c9e7394 refactor: remove the server-rendered web UI
CI / chart (push) Successful in 3s
CI / chart-push (push) Successful in 3s
CI / test (push) Successful in 1m53s
CI / image (push) Successful in 4m12s
All browsing and mood management now live in the native client. Drop the
embedded HTML page, the WEB_UI setting, the /ui route and the chart env
entry; the server only exposes /api/v1, /health and a small root banner.
2026-11-14 19:36:43 +00:00
TapTap 54cf807a9b feat: allow cross-origin API requests for the web client
CI / chart (push) Successful in 3s
CI / chart-push (push) Successful in 3s
CI / test (push) Successful in 1m46s
CI / image (push) Successful in 3m21s
The Kotlin/Wasm client can be hosted separately from the API. Bearer auth
does not use cookies, so a permissive CORS policy is safe and keeps the
static bundle deployable anywhere.
2026-11-14 18:24:13 +00:00
TapTap b33eb076c1 feat!: replace OpenSubsonic with a native mood-first API
CI / chart (push) Successful in 3s
CI / chart-push (push) Successful in 3s
CI / test (push) Successful in 1m40s
CI / image (push) Successful in 3m12s
Remove the /rest compatibility layer and the playlist model. Moods are now
first-class private collections, and playback is driven by short-lived radio
sessions whose queues are generated by the server.

- Bearer device tokens (hashed) with revocable sessions.
- Library snapshot/delta sync with tombstones and per-folder scoping.
- Mood CRUD, seeds, preview and recommendations.
- Radio batches weighted by seeds, genres, artists, text and playback affinity.
- Playback events (started/completed/skipped) and explicit add-to-mood.
- Stream, download and cover endpoints with query-token support for browsers.
- V5 migration drops playlists and migrates existing moods; scanner writes
  tombstones and song update timestamps.
- Built-in UI rebuilt on the native API with a radio player.
- Native API integration tests and a rewritten smoke test (49 checks).
- Chart bumped to 0.2.0.

BREAKING CHANGE: the OpenSubsonic API and static playlists are gone.
2026-11-14 17:54:44 +00:00
TapTap 28bfdd9d00 feat: add per-user moods as generated playlists
CI / chart (push) Successful in 2s
CI / chart-push (push) Successful in 2s
CI / test (push) Successful in 1m41s
CI / image (push) Successful in 3m11s
Add private server-managed playlist moods with curated seeds and related
library fill. Moods are created or promoted from existing playlists in the
web UI, refresh lazily after their TTL, and are marked stale after a scan.

Symfonium stars pin the active mood: opening a mood restores its context,
and a starred song becomes a permanent seed. Without an active session the
song is pinned to every mood that already contains it.

Includes the V4 migration, custom mood endpoints, management UI, tests and
smoke coverage. Bump the chart to 0.1.4.
2026-11-14 12:52:25 +00:00
TapTap e08d993e35 fix: browse artist directories in getMusicDirectory
CI / chart (push) Successful in 3s
CI / chart-push (push) Successful in 3s
CI / test (push) Successful in 1m39s
CI / image (push) Successful in 2m59s
Symfonium uses getIndexes followed by getMusicDirectory for folder
browsing. Artist entries have ar- IDs, but getMusicDirectory only handled
al- and folder IDs, so drilling into an artist returned error 70 and the
client showed an empty directory.

Return the artist's albums as child directories, and use the same album
child shape for the folder view. Add a browsing test for the artist path.
2026-11-14 11:36:01 +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 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 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 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