From be166d93b7aabb5b260e21c10b1b247704858193 Mon Sep 17 00:00:00 2001 From: alyx Date: Fri, 17 Nov 2023 19:57:43 -0500 Subject: Add additional services to TODO.md --- TODO.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'TODO.md') diff --git a/TODO.md b/TODO.md index 17210e8..e6cfb75 100644 --- a/TODO.md +++ b/TODO.md @@ -66,3 +66,31 @@ A warning should be output on startup. - `(range Number start: Number = 0): Number` Generates values from start to the main argument, exclusive. - `(random): Number` Generates a random float. + + +## Additional Services to Support + +This should be as transparent as possible to the theme and end-user. + +### Services + +- libre.fm +- listenbrainz +- hacienda if/when it gets off the ground. + +### Config Entries + +- `LFME_BACKEND_DEFAULT: string` specifies a default backend for /user/ requests.. +- `LFME_BACKEND_ADDITIONAL_GNUKEBOX: string,*` specifies a set of additional domains supporting the libre.fm API. +- `LFME_BACKEND_ADDITIONAL_LISTENBRAINZ: string,*` specifies a set of additional domains supporting the listenbrainz API. +- `LFME_BACKEND_ADDITIONAL_AUDIOSCROBBLER: string,*` specifies a set of additional domains supporting the last.fm API. + +### Query Parameters + +- `?backend=(last.fm|libre.fm|listenbrainz|LFME_BACKEND_ADDITIONAL_*)` + +### Context Members + +- `user.service` never not null +- `user.service.type` `(audioscrobbler|listenbrainz|gnukebox)` +- `user.service.domain` the string for the service's domain. -- cgit v1.2.3-54-g00ecf