aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralyx <alyx@aleteoryx.me>2023-11-17 19:57:43 -0500
committeralyx <alyx@aleteoryx.me>2023-11-17 19:57:43 -0500
commitbe166d93b7aabb5b260e21c10b1b247704858193 (patch)
tree712e9981c3a1ebfee70160adbb67cb5af513c7bf
parente5b8bfaba2360a9a701f6db0830798a09e13bee0 (diff)
downloadlfm_embed-be166d93b7aabb5b260e21c10b1b247704858193.tar.gz
lfm_embed-be166d93b7aabb5b260e21c10b1b247704858193.tar.bz2
lfm_embed-be166d93b7aabb5b260e21c10b1b247704858193.zip
Add additional services to TODO.md
-rw-r--r--TODO.md28
1 files changed, 28 insertions, 0 deletions
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.