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

Clear Cache with updating the addon #1669

Open
1 of 2 tasks
Falke-Design opened this issue Jan 6, 2024 · 1 comment
Open
1 of 2 tasks

Clear Cache with updating the addon #1669

Falke-Design opened this issue Jan 6, 2024 · 1 comment
Labels
Enhancement New feature or request

Comments

@Falke-Design
Copy link
Contributor

Feature request

I'm submitting a proposal to ...

  • new feature
  • change an existing feature

Describe your request

I ran into the issue that my code change didn't applied because the data were stored in the cache and was not parsed again.
So it would be helpful in the development process to clear the cache while installing an update of the addon

@CastagnaIT
Copy link
Owner

So it would be helpful in the development process to clear the cache while installing an update of the addon

the addon already clear the cache with an update process (version bump),
but i think you are doing other things like editing addon files on kodi directory or similar ways

the only "problem" for you is the persistent cache, because the cache stored in memory will be lost when the addon will be disabled

for the few times that was needed to me investigate for problems like infolabels
i know that there is needed go to addon Expert settings and select "Clear cache to disk" before opening any of the addon menus
but I could understand that it's not an immediate thing to understand

i think the more easy way to prevent storing any data in cache is to add an early exit from cache methods, otherwise its needed rework too much things

i can try investigate on next weeks
so that add a new child setting to the debug setting

@CastagnaIT CastagnaIT added the Enhancement New feature or request label Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants