mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-07 20:15:24 +00:00
fix first episode not downloaded and last downloaded twice in anime series (#123)
This commit is contained in:
parent
d65865a26c
commit
dd239a8e5d
@ -55,7 +55,7 @@ class EpisodeDownloader:
|
|||||||
|
|
||||||
# For all seasons
|
# For all seasons
|
||||||
elif cmd_insert == "*":
|
elif cmd_insert == "*":
|
||||||
list_season_select = list(range(1, max_count + 1))
|
list_season_select = list(range(0, max_count))
|
||||||
|
|
||||||
# Return list of selected seasons
|
# Return list of selected seasons
|
||||||
return list_season_select
|
return list_season_select
|
||||||
@ -165,7 +165,7 @@ class EpisodeDownloader:
|
|||||||
ANIME_FOLDER,
|
ANIME_FOLDER,
|
||||||
SERIES_FOLDER,
|
SERIES_FOLDER,
|
||||||
self.tv_name,
|
self.tv_name,
|
||||||
f"{index_select}.mp4",
|
f"{index_select + 1}.mp4",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user