Git Product home page Git Product logo

extensions-lib's People

Contributors

alessandrojean avatar antsylich avatar ariamoradi avatar arkon avatar claudemirovsky avatar inorichi avatar jmir1 avatar null-dev avatar stevenyomi avatar tacothedank avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

extensions-lib's Issues

Suggestions for new version

  • Filler marking, some sources provides a way to tell if an episode is a filler or not. Would be useful if aniyomi implements a way to filter out fillers (like animiru).
  • Default parameter for Track(), that way, a default subtitle / audio track can be set
  • The ability to specify different headers for the Track(), since sometimes the video and subtitles can come from two different websites
  • The ability to specify container/file type manually. For example, for consumybili the video is a dash file, but the video url doesnt contain .mpd and changing the url to contain .mpd causes server error.
  • Include page as a parameter in the default (search/popular/latest)AnimeParse, reason being that a lot of sources needs to do some sort of comparison of the current page and some variable given in the response in order to determine whether or not a next page exists. Currently this is mitigated by "overloading" the default function and adding a new private function, and overriding the fetchAnimes function, but including the page as a parameter would remove a lot of redundant code.

Suggestions for new version

  • Expose network.defaultUserAgent for extensions to use when user changes user-agent
  • Allow extensions to provide skip times along side aniskip, there are bigger databases of skip times than aniskip (zoro & 9anime)
  • Allow extensions to provide mal/anilist/kitsu id for auto tracking purposes (zoro & pahe)
  • A none episode identifier for episodes so that for extensions that provided OVA and Movies with episodes can correctly report number of episodes, might be useful for trackers too
  • Expose a function to retrieve episodes so that extensions can decide to update the whole list of episodes or for supported only the last season when refreshing (there can also be a force refresh option from ellipses menu to force update all episode list, like how it's done normally now, it could be a flag passed to the fetchepisodelist that extensions can check)

Some suggestions for extensions-lib

    • Season support
      Reason: It's annoying to do the separation of seasons manually, and bugs can easily appear in the implementation of some extensions.
      Theoretical implementation: A new property (season_number: Int, default: 0) could be added to the SEpisode model, and the episode list would be grouped according to season and episode number, maybe adding the season number as a prefix or something.
    • Re-implementation of pagination in episodeList-related functions
      Reason: This was removed on this commit, and can help devs when fetching the episode list on sources that uses multiple pages. Currently we need to reinvent the wheel and create similar functions.
      Problem: This will surely break some extensions >:(
    • Expose the Response.parseAs function
      Reason: It may be useful for JSON-API oriented extensions.
    • Automatically generated documentation page
      Reason: This will be VERY useful for new and future contributors to aniyomi-extensions.
      Theoretical implementation: Maybe KDocs or something can help with that. Explaining better the functions exposed via extensions-lib and by adding usage examples, the documentation will be even clearer and will facilitate future extension development.

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.