mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 15:38:19 +08:00
Merge pull request #4103 from wikrin/v2
This commit is contained in:
@@ -1358,6 +1358,9 @@ class TmdbApi:
|
|||||||
return {}
|
return {}
|
||||||
for group_season in group_seasons:
|
for group_season in group_seasons:
|
||||||
if group_season.get('order') == season:
|
if group_season.get('order') == season:
|
||||||
|
# 剧集组中每个季的episode_number从1开始
|
||||||
|
for i, e in enumerate(group_season.get('episodes', []), start=1):
|
||||||
|
e['episode_number'] = i
|
||||||
return group_season
|
return group_season
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user