diff options
author | metamuffin <metamuffin@disroot.org> | 2023-12-22 20:42:37 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-12-22 20:42:37 +0100 |
commit | 753a47a39c8e542ffa06d4c0735f9f67e890d199 (patch) | |
tree | cb7faa65e66296740315728af1ca864cf9e6174b /common | |
parent | 208a845a28f47fb6aef56ba447cfc7c2e093ac20 (diff) | |
download | jellything-753a47a39c8e542ffa06d4c0735f9f67e890d199.tar jellything-753a47a39c8e542ffa06d4c0735f9f67e890d199.tar.bz2 jellything-753a47a39c8e542ffa06d4c0735f9f67e890d199.tar.zst |
rework import system pt. 7: cache tmdb, media ignore flags
Diffstat (limited to 'common')
-rw-r--r-- | common/src/lib.rs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/common/src/lib.rs b/common/src/lib.rs index 73eb860..a5b3f21 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -71,9 +71,12 @@ pub enum ImportSource { }, Media { location: AssetLocation, - #[serde(default)] ignore_attachments: bool, - #[serde(default)] ignore_metadata: bool, - // TODO all ignore options + #[serde(default)] + ignore_metadata: bool, + #[serde(default)] + ignore_attachments: bool, + #[serde(default)] + ignore_chapters: bool, }, Federated { host: String, @@ -109,7 +112,7 @@ pub enum NodeKind { #[serde(rename_all = "snake_case")] pub enum TrackSource { Local(LocalTrack), - Remote, + Remote(usize), } pub enum PublicMediaSource { |