siku2 / script.service.sponsorblock

Kodi add-on for SponsorBlock
MIT License
124 stars 15 forks source link

feat: add invidious support #45

Closed SethFalco closed 1 year ago

SethFalco commented 1 year ago

Adds support for Invidious, aimed at the lekma/video.plugin.invidious version. The version of Invidious currently in the Kodi repos is unmaintained and the public GitHub repo was archived.

On the side I did a few minor refactors.

Documentation

Documentation for variables can be done by doing the docstring syntax under it.

image

Now that the comment was moved to a docstring, we get hints when hovering over variables.

Types

Normally types are lowercase, i.e. list[str], not List[str] afaik.

Notes

Related