diff options
-rw-r--r-- | TODO.md | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -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. |