aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-common/src/meshbay_common/protocol.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-common/src/meshbay_common/protocol.py')
-rw-r--r--packages/meshbay-common/src/meshbay_common/protocol.py16
1 files changed, 2 insertions, 14 deletions
diff --git a/packages/meshbay-common/src/meshbay_common/protocol.py b/packages/meshbay-common/src/meshbay_common/protocol.py
index 5bd1206..1dfa519 100644
--- a/packages/meshbay-common/src/meshbay_common/protocol.py
+++ b/packages/meshbay-common/src/meshbay_common/protocol.py
@@ -156,8 +156,6 @@ class MNP:
SET_SCAN_SETTINGS_ACK = "set_scan_settings_ack"
MEDIA_META_REQ = "media_meta_req" # client → node: TMDB metadata for a path
MEDIA_META_RESP = "media_meta_resp" # node → client: TMDB metadata (or none)
- VIDEO_ROOT = "video_root" # operator → node: which folder is the Videos entry point
- VIDEO_ROOT_ACK = "video_root_ack"
TMDB_CONFIG = "tmdb_config" # operator → node: set custom TMDB token/language (node-wide)
TMDB_CONFIG_ACK = "tmdb_config_ack" # node → everyone: new TMDB config (never the token)
TMDB_ENABLED = "tmdb_enabled" # operator → node: enable/disable TMDB for this group
@@ -183,15 +181,6 @@ class MNP:
# TMDB poster or a MusicBrainz cover.
AUDIO_TRANSCODE_REQ = "audio_transcode_req" # client → node: transcode this file id
AUDIO_TRANSCODE_RESP = "audio_transcode_resp" # node → client: cache hash/size/mime
- # Which folder is the Music app's entry point for this group — same
- # shape as VIDEO_ROOT above.
- AUDIO_ROOT = "audio_root" # operator → node: which folder is the Music entry point
- AUDIO_ROOT_ACK = "audio_root_ack"
- # Which folder(s) are the Photos app's entry points for this group — a
- # *set*, unlike VIDEO_ROOT/AUDIO_ROOT above, since a photo library is
- # routinely scattered across several unrelated folders (docs/photos.md §2.1).
- PHOTO_ROOTS = "photo_roots" # operator → node: the whole root set, replaced
- PHOTO_ROOTS_ACK = "photo_roots_ack"
# Device linking. A new device files a request bound to a code it displays;
# an already-pinned device of the same account approves it. Neither the hub
# nor the node can produce the countersignature.
@@ -224,9 +213,8 @@ class MNP:
ROOT_REMOVE = "root_remove" # operator → node: remove a root from a group
ROOT_REMOVE_ACK = "root_remove_ack" # node → operator: confirmed
# One message for every application's directories, keyed by the app's own
- # name — adding an app adds no message type. VIDEO_ROOT / AUDIO_ROOT /
- # PHOTO_ROOTS above are the same instruction under three earlier names and
- # are still handled, for clients that predate this.
+ # name — adding an app adds no message type, and no application has one of
+ # its own.
APP_DIRECTORIES = "app_directories" # operator → node: an app's folder(s)
APP_DIRECTORIES_ACK = "app_directories_ack"
# Chat's own two: where attachments are written (a destination, so it must