Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some suggestions for extensions-lib #3

Open
Claudemirovsky opened this issue Feb 13, 2023 · 0 comments
Open

Some suggestions for extensions-lib #3

Claudemirovsky opened this issue Feb 13, 2023 · 0 comments

Comments

@Claudemirovsky
Copy link

Claudemirovsky commented Feb 13, 2023

    • 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant