summaryrefslogtreecommitdiffstats
path: root/packages/meshbay-common/src/meshbay_common/adminop.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-common/src/meshbay_common/adminop.py')
-rw-r--r--packages/meshbay-common/src/meshbay_common/adminop.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/meshbay-common/src/meshbay_common/adminop.py b/packages/meshbay-common/src/meshbay_common/adminop.py
index df806a9..f0a79fe 100644
--- a/packages/meshbay-common/src/meshbay_common/adminop.py
+++ b/packages/meshbay-common/src/meshbay_common/adminop.py
@@ -83,6 +83,15 @@ OP_VIDEO_ROOT = "video_root"
# (media_cache is shared, not per-viewer), so an unsigned override would let
# any member vandalize another show's metadata.
OP_TMDB_OVERRIDE = "tmdb_override"
+# Music app (docs/musicbay.md §6) — same shape as OP_TMDB_CONFIG, minus a
+# secret: MusicBrainz needs no API key, only a rate-limited, self-identifying
+# client, so this only ever carries the User-Agent contact string, node-wide.
+OP_MUSICBRAINZ_CONFIG = "musicbrainz_config"
+# Whether the node calls MusicBrainz *at all* for this group — per-group from
+# the start (unlike TMDB, which started node-wide and was split later once
+# the lesson was already learned once). Signed for the same reason as
+# tmdb_enabled.
+OP_MUSICBRAINZ_ENABLED = "musicbrainz_enabled"
OP_ROOT_ADD = "root_add"
OP_ROOT_REMOVE = "root_remove"
OP_GROUP_ATTACH = "group_attach"