Skip to content

Commit

Permalink
🐞 fix: 剧集单集信息没有nfo文件
Browse files Browse the repository at this point in the history
  • Loading branch information
nichuanfang committed Sep 10, 2023
1 parent 3b8d66e commit 5f540d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5f540d7

Please sign in to comment.