From 5f540d7f761e19a61e304457d5057e17a46ffc1e Mon Sep 17 00:00:00 2001 From: jaychouzzz Date: Sun, 10 Sep 2023 16:38:42 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20=E5=89=A7=E9=9B=86?= =?UTF-8?q?=E5=8D=95=E9=9B=86=E4=BF=A1=E6=81=AF=E6=B2=A1=E6=9C=89nfo?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 0382a05..ceef754 100644 --- a/main.py +++ b/main.py @@ -442,8 +442,8 @@ def crawl_shows(ali_drive:Alidrive): sleep(3) # 将生成单集的缩略图和nfo文件上传到剧集文件夹 缩略图: SXXEXX-thumb.jpg nfo: SXXEXX.nfo try: - ali_drive.aligo.upload_file(f'kodi-tmdb/shows/{show_folder.name}/S{str(which_season).zfill(2)}E{str(index+1).zfill(2)}-thumb.jpg',season.file_id) ali_drive.aligo.upload_file(f'kodi-tmdb/shows/{show_folder.name}/S{str(which_season).zfill(2)}E{str(index+1).zfill(2)}.nfo',season.file_id) + ali_drive.aligo.upload_file(f'kodi-tmdb/shows/{show_folder.name}/S{str(which_season).zfill(2)}E{str(index+1).zfill(2)}-thumb.jpg',season.file_id) except: continue