This commit is contained in:
jxxghp
2023-08-08 06:59:17 +08:00
parent 38dd65bece
commit 3c3b8ff0e4
6 changed files with 8 additions and 10 deletions

View File

@ -415,7 +415,7 @@ class BestFilmVersion(_PluginBase):
resp = self.get_items(Emby().get_data(url))
all_item.extend(resp)
else:
resp = self.plex_get_watchlist(self)
resp = self.plex_get_watchlist()
all_item.extend(resp)
for data in all_item:
@ -502,7 +502,7 @@ class BestFilmVersion(_PluginBase):
return []
@staticmethod
def plex_get_watchlist(self):
def plex_get_watchlist():
# 根据加入日期 降序排序
url = f"https://metadata.provider.plex.tv/library/sections/watchlist/all?type=1&sort=addedAt%3Adesc" \
f"&X-Plex-Container-Start=0&X-Plex-Container-Size=50" \

View File

@ -306,7 +306,7 @@ class TorrentTransfer(_PluginBase):
continue
# TODO 读取trackers
try:
torrent_main = None
torrent_main = {}
main_announce = None
except Exception as err:
logger.error(f"解析种子文件 {torrent_file} 失败:{err}")