Code Monkey home page Code Monkey logo

Comments (3)

sdaqo avatar sdaqo commented on May 25, 2024

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.

 avatar commented on May 25, 2024

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.

sdaqo avatar sdaqo commented on May 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.