feat: add search_imdbid for subscribe
This commit is contained in:
parent
06c3985aa4
commit
d28f3ed74b
@ -67,6 +67,8 @@ class Subscribe(Base):
|
|||||||
current_priority = Column(Integer)
|
current_priority = Column(Integer)
|
||||||
# 保存路径
|
# 保存路径
|
||||||
save_path = Column(String)
|
save_path = Column(String)
|
||||||
|
# 是否使用 imdbid 搜索
|
||||||
|
search_imdbid = Column(Integer, default=0)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
@db_query
|
@db_query
|
||||||
|
@ -59,6 +59,8 @@ class Subscribe(BaseModel):
|
|||||||
current_priority: Optional[int] = None
|
current_priority: Optional[int] = None
|
||||||
# 保存路径
|
# 保存路径
|
||||||
save_path: Optional[str] = None
|
save_path: Optional[str] = None
|
||||||
|
# 是否使用 imdbid 搜索
|
||||||
|
search_imdbid: Optional[int] = 0
|
||||||
|
|
||||||
class Config:
|
class Config:
|
||||||
orm_mode = True
|
orm_mode = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user