2022-09-19, 19:38
(2022-09-19, 01:13)AnonTester Wrote: @juuser Hard dependency does not mean integrating the cloudflare scraper addon into the subscene addon, but it means that the subscene addon would not install, unless you already have the cloudflare scraper addon installed (hard dependency). Soft dependency means it will install regardless and the addon will check and make use of it, if it is installed.
Got it. I didn't mean about addon, but I meant cloudscraper Python library itself. Not sure how these things are handled in Kodi-land though. My idea was that end-user should not need to worry if he/she needs that cloudscraper library or not to make subscene addon working out of the box. Even if everything is working okay right now for the user, then at one day it might stop working as it did for me and probably many others. The problem is that it's impossible right now to understand the cause of the problem if you're not a software developer. End-user just does not see any errors - subscene addon always shows empty list of subtitles in the Kodi UI and that's it. If you prefer so called soft-dependency for cloudflare scraper addon (and not the Python library itself) then there should be some UI element, which would hint to the end-user that this addon is required for subscene addon to work.