parent
96fc32efd0
commit
d0a92531ac
@ -20,6 +20,7 @@ def upgrade() -> None:
|
|||||||
# ### commands auto generated by Alembic - please adjust! ###
|
# ### commands auto generated by Alembic - please adjust! ###
|
||||||
op.execute("delete from systemconfig where key = 'RssSites';")
|
op.execute("delete from systemconfig where key = 'RssSites';")
|
||||||
op.execute("insert into systemconfig(key, value) VALUES('RssSites', (select value from systemconfig where key= 'IndexerSites'));")
|
op.execute("insert into systemconfig(key, value) VALUES('RssSites', (select value from systemconfig where key= 'IndexerSites'));")
|
||||||
|
op.execute("delete from systemconfig where key = 'SearchResults';")
|
||||||
# ### end Alembic commands ###
|
# ### end Alembic commands ###
|
||||||
|
|
||||||
|
|
||||||
|
@ -344,7 +344,7 @@ class TransferChain(ChainBase):
|
|||||||
# 整合数据
|
# 整合数据
|
||||||
if mtype:
|
if mtype:
|
||||||
meta.type = mtype
|
meta.type = mtype
|
||||||
if season:
|
if season is not None:
|
||||||
meta.begin_season = season
|
meta.begin_season = season
|
||||||
# 识别媒体信息
|
# 识别媒体信息
|
||||||
mediainfo: MediaInfo = self.mediachain.recognize_media(tmdbid=tmdbid, mtype=mtype)
|
mediainfo: MediaInfo = self.mediachain.recognize_media(tmdbid=tmdbid, mtype=mtype)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user