tgiachi
f900a22904
feat(playlists): a user keeps playlists of tracks
...
Each user can make playlists: a name (1 to 200 characters), an optional
description and an ordered list of tracks, where a track may appear more than once
(each place has its own item id). The API makes, lists, renames and deletes
playlists, and adds tracks (at the end or at a position), lists them, moves one and
removes one; positions count from 0 without gaps.
A playlist is its owner's alone: somebody else's answers playlist_not_found (404),
as one that does not exist. A track whose files were deleted or moved stays in the
playlist and is listed with available false. Deleting a user deletes their
playlists. Limits: 1,000 playlists per user, 10,000 tracks per playlist, 500 tracks
per request.
Changes of one playlist are serialised by locking its row, so two requests at once
keep the positions unique on PostgreSQL too. Migration 0019, OpenAPI spec, contract
test, README and the web API types follow. The web app comes separately.
Closes #89
2026-11-12 16:55:25 +01:00
..
api_test.go
feat(playlists): a user keeps playlists of tracks
2026-11-12 16:55:25 +01:00
artist_image_test.go
feat(images): free photos of artists from Wikimedia Commons
2026-11-11 22:03:32 +01:00
auth_test.go
feat(auth): accounts are identified by an email address
2026-11-12 14:40:33 +01:00
catalog_test.go
feat(catalog): add the read API for artists, albums and tracks
2026-11-11 13:43:38 +01:00
contract_test.go
feat(playlists): a user keeps playlists of tracks
2026-11-12 16:55:25 +01:00
covers_test.go
fix(images): a refresh never wipes covers, the job sees outages and starts cleanly
2026-11-12 09:43:51 +01:00
description_test.go
feat(images): free photos of artists from Wikimedia Commons
2026-11-11 22:03:32 +01:00
discover_busy_test.go
feat(discover): one Discover at a time for each listener, three at once on the server
2026-11-12 11:52:20 +01:00
discover_test.go
feat(auth): accounts are identified by an email address
2026-11-12 14:40:33 +01:00
docs.go
fix(api): make the spec say what the code does, and make the tests prove it
2026-11-11 14:46:28 +01:00
docs_test.go
fix(api): make the spec say what the code does, and make the tests prove it
2026-11-11 14:46:28 +01:00
errors.go
feat: add sondad server with config, storage, auth and listening API
2026-11-11 12:06:15 +01:00
feedback_test.go
feat(auth): accounts are identified by an email address
2026-11-12 14:40:33 +01:00
handlers_about.go
feat(about): artist descriptions from Wikipedia
2026-11-11 21:36:27 +01:00
handlers_artist_image.go
feat(images): free photos of artists from Wikimedia Commons
2026-11-11 22:03:32 +01:00
handlers_auth.go
feat(auth): accounts are identified by an email address
2026-11-12 14:40:33 +01:00
handlers_catalog.go
fix(catalog): keep albums apart, align album counts, reject bad search text
2026-11-11 13:47:31 +01:00
handlers_covers.go
fix(images): a refresh never wipes covers, the job sees outages and starts cleanly
2026-11-12 09:43:51 +01:00
handlers_discover.go
feat(discover): one Discover at a time for each listener, three at once on the server
2026-11-12 11:52:20 +01:00
handlers_feedback.go
feat(feedback): a wishlist and "not interested"
2026-11-11 20:11:18 +01:00
handlers_jobs.go
fix(jobs): a stop or a panic never wedges a job, a bad download never replaces a good picture
2026-11-12 10:09:46 +01:00
handlers_libraries.go
fix(library): make the libraries upgrade and validation robust
2026-11-11 13:34:44 +01:00
handlers_library.go
fix(discovery): purge lock, cleanup chains and rescans that cannot read
2026-11-11 17:36:14 +01:00
handlers_lidarr.go
fix(lidarr): protect Lidarr from many asks, refuse bad ids, give up when the request does
2026-11-12 11:35:28 +01:00
handlers_listen.go
feat(listening): count a listen after a minimum play time and expose the history
2026-11-11 14:58:47 +01:00
handlers_playlists.go
feat(playlists): a user keeps playlists of tracks
2026-11-12 16:55:25 +01:00
handlers_providers.go
fix(lidarr): saved defaults, conflicts, no proxy, readable addresses
2026-11-12 11:11:35 +01:00
handlers_similar.go
feat(discovery): artist tags from Last.fm and MusicBrainz, and ids from my files
2026-11-11 17:01:43 +01:00
handlers_stream.go
feat(streaming): stream tracks with HTTP Range support
2026-11-11 12:56:20 +01:00
handlers_taste.go
feat(taste): learn what I like from what I listen to
2026-11-11 18:46:58 +01:00
handlers_users.go
feat(auth): accounts are identified by an email address
2026-11-12 14:40:33 +01:00
handlers_usersettings.go
fix(settings): strict body, deleted-account race, doc wording
2026-11-11 19:20:42 +01:00
health_log_test.go
fix(docker): keep the secret, quiet health checks, and tighter files
2026-11-12 12:29:38 +01:00
jobs_test.go
feat(auth): accounts are identified by an email address
2026-11-12 14:40:33 +01:00
libraries_test.go
fix(library): make the libraries upgrade and validation robust
2026-11-11 13:34:44 +01:00
library_test.go
fix(discovery): purge lock, cleanup chains and rescans that cannot read
2026-11-11 17:36:14 +01:00
lidarr_test.go
fix(lidarr): protect Lidarr from many asks, refuse bad ids, give up when the request does
2026-11-12 11:35:28 +01:00
listens_test.go
feat(listening): count a listen after a minimum play time and expose the history
2026-11-11 14:58:47 +01:00
middleware.go
feat(auth): accounts are identified by an email address
2026-11-12 14:40:33 +01:00
middleware_test.go
feat(auth): accounts are identified by an email address
2026-11-12 14:40:33 +01:00
playlists_test.go
feat(playlists): a user keeps playlists of tracks
2026-11-12 16:55:25 +01:00
providers_test.go
feat(lidarr): set up Lidarr as a provider and read what it offers
2026-11-12 11:04:53 +01:00
router.go
feat(playlists): a user keeps playlists of tracks
2026-11-12 16:55:25 +01:00
router_test.go
feat(lidarr): send an artist to Lidarr and see whether it has it
2026-11-12 11:28:15 +01:00
similar_test.go
feat(discovery): remove provider data, genres from my files, full rescans
2026-11-11 17:27:29 +01:00
stream_test.go
feat(library): named media libraries managed through the API
2026-11-11 13:30:25 +01:00
tags_test.go
feat(discovery): remove provider data, genres from my files, full rescans
2026-11-11 17:27:29 +01:00
taste_test.go
feat(auth): accounts are identified by an email address
2026-11-12 14:40:33 +01:00
usersettings_test.go
feat(auth): accounts are identified by an email address
2026-11-12 14:40:33 +01:00
web.go
feat(api): serve the web app on / and for its own links, with a strict policy
2026-11-12 15:56:33 +01:00
web_test.go
feat(api): serve the web app on / and for its own links, with a strict policy
2026-11-12 15:56:33 +01:00