Skip to content

Commit

Permalink
🐞 fix: 去除不必要的上传
Browse files Browse the repository at this point in the history
  • Loading branch information
nichuanfang committed Sep 19, 2023
1 parent 270423a commit 1065d1d
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,18 +374,6 @@ def crawl_shows(ali_drive:Alidrive):
ali_drive.aligo.upload_file(f'kodi-tmdb/shows/{show_folder.name}/{new_season_name}/tvshow.nfo',season.file_id,check_name_mode='refuse')
except:
pass
try:
ali_drive.aligo.upload_file(f'kodi-tmdb/shows/{show_folder.name}/{new_season_name}/poster.jpg',season.file_id,check_name_mode='refuse')
except:
pass
try:
ali_drive.aligo.upload_file(f'kodi-tmdb/shows/{show_folder.name}/{new_season_name}/clearlogo.png',season.file_id,check_name_mode='refuse')
except:
pass
try:
ali_drive.aligo.upload_file(f'kodi-tmdb/shows/{show_folder.name}/{new_season_name}/fanart.jpg',season.file_id,check_name_mode='refuse')
except:
pass
episodes = ali_drive.get_file_list(season.file_id)
# 保证剧集是能排序的 不用重命名
episode_videos = []
Expand Down

0 comments on commit 1065d1d

Please sign in to comment.