stremio-core icon indicating copy to clipboard operation
stremio-core copied to clipboard

design flaw: third party addons cannot be updated for guest users

Open Ivshti opened this issue 5 years ago • 3 comments

because there's no API addonCollectionGet for guest users, third party addons cannot be updated

should be fixed long term

This can be resolved using the same algo we use to update official addons: https://github.com/Stremio/stremio-core/blob/master/src/state_types/models/context.rs#L140

We can just do another async call to get the latest thirdparty addon catalog, and update

Ivshti avatar Sep 13 '19 09:09 Ivshti

There must be a last_modified field so we update addons only if they are older than a fixed duration, like 1 week. a bit of a challenge could be to properly schedule the requests, because if we request all addons on app start that will cause the same issues board does. How could we avoid requesting all addons on app start? Should we auto-update ONLY the addons that are part of the community catalog?

nklhtv avatar Jun 08 '22 14:06 nklhtv

Hello can I work on this?

gmjimenezc avatar Jul 11 '22 02:07 gmjimenezc

It's not yet clear how exactly we want to implement it. I suggest we keep the current update the official addons as and update the 3rd party addons based on the community catalog both of those should be triggered when PullAddonsFromAPI action is dispatch, without using any timers or flags in the core

nklhtv avatar Oct 27 '22 14:10 nklhtv