Implemented the ability to edit collections and fixed a refresh bug so screens will automatically refresh when users edit movies or collections

This commit is contained in:
Dark-Alex-17 committed 2023-08-08 10:50:06 -06:00
1 parent 173e81fc17
commit bf5ecbd5a6
18 files changed
+2040 -273

No files matched your search

+4
View File
@@ -83,11 +83,15 @@ pub struct CollectionMovie {
#[derivative(Default)]
#[serde(rename_all = "camelCase")]
pub struct Collection {
#[derivative(Default(value = "Number::from(0)"))]
pub id: Number,
#[serde(default)]
pub title: HorizontallyScrollableText,
pub root_folder_path: Option<String>,
pub search_on_add: bool,
pub monitored: bool,
pub overview: Option<String>,
pub minimum_availability: MinimumAvailability,
#[derivative(Default(value = "Number::from(0)"))]
pub quality_profile_id: Number,
pub movies: Option<Vec<CollectionMovie>>,