From 753a47a39c8e542ffa06d4c0735f9f67e890d199 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Fri, 22 Dec 2023 20:42:37 +0100 Subject: rework import system pt. 7: cache tmdb, media ignore flags --- common/src/lib.rs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'common/src/lib.rs') 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 { -- cgit v1.2.3-70-g09d2