diff options
author | metamuffin <metamuffin@disroot.org> | 2023-12-22 15:16:58 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-12-22 15:17:23 +0100 |
commit | 80e545d06c4a0f0841d4b40e3aff479ef8d864f9 (patch) | |
tree | 9a555ea9404f45fb7ebf617ebdfb1f8248332e05 /common | |
parent | c644f3b2f7b93cba2c903fa2a5e30ea80d86ef13 (diff) | |
download | jellything-80e545d06c4a0f0841d4b40e3aff479ef8d864f9.tar jellything-80e545d06c4a0f0841d4b40e3aff479ef8d864f9.tar.bz2 jellything-80e545d06c4a0f0841d4b40e3aff479ef8d864f9.tar.zst |
rework import system pt. 5: local import and playback working again
Diffstat (limited to 'common')
-rw-r--r-- | common/src/lib.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/common/src/lib.rs b/common/src/lib.rs index e348d21..73eb860 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -63,14 +63,16 @@ pub struct ImportOptions { #[serde(rename_all = "snake_case")] pub enum ImportSource { Override(Node), - Tmdb(u64), + Tmdb { + id: u64, + }, AutoChildren { path: Option<PathBuf>, }, Media { location: AssetLocation, - ignore_attachments: bool, - ignore_metadata: bool, + #[serde(default)] ignore_attachments: bool, + #[serde(default)] ignore_metadata: bool, // TODO all ignore options }, Federated { |