feat: option to download all episodes

This commit is contained in:
Simon Ding
2024-07-28 13:22:12 +08:00
parent 34fa05e7dd
commit fc86a441f4
13 changed files with 280 additions and 44 deletions

View File

@@ -28,7 +28,7 @@ func (Media) Fields() []ent.Field {
field.Enum("resolution").Values("720p", "1080p", "4k").Default("1080p"),
field.Int("storage_id").Optional(),
field.String("target_dir").Optional(),
//field.Bool("download_history_episodes").Optional().Default(false).Comment("tv series only"),
field.Bool("download_history_episodes").Optional().Default(false).Comment("tv series only"),
}
}