diff options
Diffstat (limited to 'packages/meshbay-common/src/meshbay_common/protocol.py')
| -rw-r--r-- | packages/meshbay-common/src/meshbay_common/protocol.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/meshbay-common/src/meshbay_common/protocol.py b/packages/meshbay-common/src/meshbay_common/protocol.py index 3b5d428..8f29c38 100644 --- a/packages/meshbay-common/src/meshbay_common/protocol.py +++ b/packages/meshbay-common/src/meshbay_common/protocol.py @@ -113,6 +113,12 @@ class MNP: MUSICBRAINZ_ENABLED_ACK = "musicbrainz_enabled_ack" # node → this group: new enabled state MUSIC_META_REQ = "music_meta_req" # client → node: metadata for a path MUSIC_META_RESP = "music_meta_resp" # node → client: metadata (or none) + # A file whose format the browser's own <audio> element cannot decode at + # all (WMA, Musepack) — resolved to a cached, browser-playable AAC/M4A + # copy on request, the same "computed once, reused forever" shape as a + # 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 # 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. |