add new settings

This commit is contained in:
2025-03-15 21:08:45 +01:00
parent 6dce10a522
commit 653bbb0d06

View File

@@ -13,6 +13,7 @@ class Komga:
user: str user: str
password: str password: str
media_path: str media_path: str
api_key: str = None
def getattr(self, name): def getattr(self, name):
return getattr(self, name) return getattr(self, name)
@@ -65,6 +66,7 @@ class KomGrabber:
skip_parameters: List[str] skip_parameters: List[str]
aria2: Aria2 aria2: Aria2
tag_interactive: bool tag_interactive: bool
min_filesize: int
def __post_init__(self): def __post_init__(self):
self.skip_parameters = [param.lower() for param in self.skip_parameters] self.skip_parameters = [param.lower() for param in self.skip_parameters]