aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/src/lib.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/src/lib.rs b/common/src/lib.rs
index 81fcfd8..4b3ac81 100644
--- a/common/src/lib.rs
+++ b/common/src/lib.rs
@@ -53,6 +53,11 @@ pub enum MediaSource {
Remote { host: String, remote_id: String },
}
+pub enum PublicMediaSource {
+ Local,
+ Remote(String),
+}
+
#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct LocalTrack {
pub path: PathBuf,