You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have it set up to auto run and save to my Jellyfin server. This past week it stopped adding anime. When I looked into it I found that episode 12 of Code Geass Roze dub has a broken link on Yugen. There is a URL for it, but there is no video there. This causes the seasonal scan to crash. With the broken link, the entire system breaks and it becomes unusable unless I manually download each episode to skip over the broken one or remove the problematic series from the seasonals list (which is what I ended up doing). This also prevents my other scripts for renaming and moving to my server from triggering because the anipy command terminates unexpectedly.
To Reproduce
Steps to reproduce the behavior:
Have a series in your seasonal list with a broken link on Yugen
Run a download scan
Anipy crashes when it gets to the series with the broken link
See error
Alternate Way To Reproduce As Of The Time Of Writing
Open anipy in download mode
Search for Code Geass
Select option 1 (Code Geass: Dakkan no Rozé (S/D))
*Choose dub or have it set to default to dubs
Select episode 12
See error
Expected behavior
What should happen is if there is an error with the URL, it should skip that problem and continue on with the other series in the seasonals list. Maybe even generate an error log in the download directory to inform the user there was an issue and with what series, or perhaps the broken URL.
Info
bae@bae-MS-7D25:~$ anipy-cli -D Download Mode
Downloads are stored in: /home/bae/Videos
? Search Anime: code geass
? Select Show: 1. YU: Code Geass: Dakkan no Rozé (S/D)
? Input Episode Range(s) from episodes 1 to 12: 12
Traceback (most recent call last):
File "/home/bae/.local/bin/anipy-cli", line 8, in
sys.exit(run_cli())
File "/home/bae/.local/pipx/venvs/anipy-cli/lib/python3.10/site-packages/anipy_cli/cli.py", line 60, in run_cli
cli_class(options=args).run()
File "/home/bae/.local/pipx/venvs/anipy-cli/lib/python3.10/site-packages/anipy_cli/clis/base_cli.py", line 31, in run
ret = func()
File "/home/bae/.local/pipx/venvs/anipy-cli/lib/python3.10/site-packages/anipy_cli/clis/download_cli.py", line 98, in process
stream = self.anime.get_video(
File "/home/bae/.local/pipx/venvs/anipy-cli/lib/python3.10/site-packages/anipy_api/anime.py", line 116, in get_video
streams = self.provider.get_video(self.identifier, episode, lang)
File "/home/bae/.local/pipx/venvs/anipy-cli/lib/python3.10/site-packages/anipy_api/provider/providers/yugen_provider.py", line 232, in get_video
for playlist in res["hls"]:
Platform
OS: Linux Mint
The text was updated successfully, but these errors were encountered:
Hey! Your issue has good timing. I recently made a PR that is very similar to this problem. I think I'll make a few edits to my PR and that should solve your issue! I'll link this issue when I finish the edits
Describe the bug
I have it set up to auto run and save to my Jellyfin server. This past week it stopped adding anime. When I looked into it I found that episode 12 of Code Geass Roze dub has a broken link on Yugen. There is a URL for it, but there is no video there. This causes the seasonal scan to crash. With the broken link, the entire system breaks and it becomes unusable unless I manually download each episode to skip over the broken one or remove the problematic series from the seasonals list (which is what I ended up doing). This also prevents my other scripts for renaming and moving to my server from triggering because the anipy command terminates unexpectedly.
To Reproduce
Steps to reproduce the behavior:
Alternate Way To Reproduce As Of The Time Of Writing
Expected behavior
What should happen is if there is an error with the URL, it should skip that problem and continue on with the other series in the seasonals list. Maybe even generate an error log in the download directory to inform the user there was an issue and with what series, or perhaps the broken URL.
Info
bae@bae-MS-7D25:~$ anipy-cli -D
Download Mode
Downloads are stored in: /home/bae/Videos
? Search Anime: code geass
? Select Show: 1. YU: Code Geass: Dakkan no Rozé (S/D)
? Input Episode Range(s) from episodes 1 to 12: 12
Traceback (most recent call last):
File "/home/bae/.local/bin/anipy-cli", line 8, in
sys.exit(run_cli())
File "/home/bae/.local/pipx/venvs/anipy-cli/lib/python3.10/site-packages/anipy_cli/cli.py", line 60, in run_cli
cli_class(options=args).run()
File "/home/bae/.local/pipx/venvs/anipy-cli/lib/python3.10/site-packages/anipy_cli/clis/base_cli.py", line 31, in run
ret = func()
File "/home/bae/.local/pipx/venvs/anipy-cli/lib/python3.10/site-packages/anipy_cli/clis/download_cli.py", line 98, in process
stream = self.anime.get_video(
File "/home/bae/.local/pipx/venvs/anipy-cli/lib/python3.10/site-packages/anipy_api/anime.py", line 116, in get_video
streams = self.provider.get_video(self.identifier, episode, lang)
File "/home/bae/.local/pipx/venvs/anipy-cli/lib/python3.10/site-packages/anipy_api/provider/providers/yugen_provider.py", line 232, in get_video
for playlist in res["hls"]:
Platform
The text was updated successfully, but these errors were encountered: