Comments (3)
Support for a new stream provider will be somewhat a big thing. I will postpone that for now since looks like that isn't really on a lot of eps and we still have a PR open. This is on the wishlist for now. I will leave this open though.
from anipy-cli.
After conducting a thorough analysis of the issue, my proposed solution involves implementing a check to determine whether the episode requires streaming from Streamsb or not. This can be accomplished by incorporating a try-except block within the multithread_m3u8_dl function in the anipy_cli/download.py file.
With these modifications, if the call to self.ffmpeg_merge raises a FileNotFoundError exception, the user will be presented with two options. They can either choose to skip to the next episode (by entering 1) or retry downloading the current episode (by entering 2). If the user decides to skip, the function will proceed to the next episode, whereas if they choose to retry, the download process will resume from where it left off.
By implementing these changes, we can enhance the functionality of the download feature and make it more user-friendly.
from anipy-cli.
Since this issue is currently irrelevant (the episode in the issue cowboy bebop 15 is not broken anymore and we dont have anything to test now anyways) I will close this issue for now and convert it to a discussion. Support for multiple streaming providers is an idea I do have in mind but am currently to lazy to do.
As for your idea @HimanshuChaudhary17 sure but I would just leave the option to retry/skip and just put a try/except around the call to download (in download_cli.py) so that users who download a big batch of anime and leave their PC unattended don't get stuck on the choice between retry/skip. Do go ahead and make a PR for this!
from anipy-cli.
Related Issues (20)
- Randomly creates random extensions for tmp files HOT 17
- Dubs not available in search HOT 14
- JSON decode error when trying to play episodes HOT 3
- Download broken (response code:502) HOT 2
- Program crashes on startup HOT 2
- Error when running Anipy-cli: OSError: FFmpeg version command returned an error HOT 2
- JSON decode error while syncing from MAL HOT 3
- Need to clean titles with special Character to valid filename characters HOT 6
- Requests: Invalid URL: no host supplied HOT 3
- Script Trying to Parse Invalid URL HOT 1
- .5 episode breaks seasonals download HOT 3
- "UnboundLocalError: local variable 'progress_bar' referenced before assignment" HOT 6
- VLC Player doesn't open HOT 1
- Unable to watch anime due to the change of the website HOT 3
- episode 0 is not downloadable HOT 4
- MAL Mode with Apple ID HOT 8
- [macOS Bug] does not initialize config file properly on a fresh install HOT 4
- Filename Error when downloading HOT 3
- Windows enviroment variables dont work HOT 2
- Just clean installed and get the following error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anipy-cli.