aboutsummaryrefslogtreecommitdiff
path: root/common/src
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-08-01 20:32:35 +0200
committermetamuffin <metamuffin@disroot.org>2023-08-01 20:32:35 +0200
commitff9060ea0987e29e4d468ff7c9fed7cc7109bf2b (patch)
treefc8c7ad11ca2dfc7ebccb65ea9ea3c27827405dd /common/src
parentf7992589cf45c699599a7ee5fc4634c9db16ff87 (diff)
downloadjellything-ff9060ea0987e29e4d468ff7c9fed7cc7109bf2b.tar
jellything-ff9060ea0987e29e4d468ff7c9fed7cc7109bf2b.tar.bz2
jellything-ff9060ea0987e29e4d468ff7c9fed7cc7109bf2b.tar.zst
federation possible but inconvinient
Diffstat (limited to 'common/src')
-rw-r--r--common/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/src/lib.rs b/common/src/lib.rs
index 4b3ac81..323070b 100644
--- a/common/src/lib.rs
+++ b/common/src/lib.rs
@@ -48,6 +48,7 @@ pub enum NodeKind {
}
#[derive(Debug, Clone, Deserialize, Serialize)]
+#[serde(rename_all = "snake_case")]
pub enum MediaSource {
Local { tracks: Vec<LocalTrack> },
Remote { host: String, remote_id: String },