diff options
| author | metamuffin <metamuffin@disroot.org> | 2023-08-01 19:56:38 +0200 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2023-08-01 19:56:38 +0200 |
| commit | f7992589cf45c699599a7ee5fc4634c9db16ff87 (patch) | |
| tree | 973c2e0bc9d50a9e137f999b3c1f231e8471c4be /common/src | |
| parent | 551e62a6012284823d6b22a9257c3fae07de7fd9 (diff) | |
| download | jellything-f7992589cf45c699599a7ee5fc4634c9db16ff87.tar jellything-f7992589cf45c699599a7ee5fc4634c9db16ff87.tar.bz2 jellything-f7992589cf45c699599a7ee5fc4634c9db16ff87.tar.zst | |
error format depends on accept header
Diffstat (limited to 'common/src')
| -rw-r--r-- | common/src/lib.rs | 5 |
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, |