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

Feature request - autoclean on interval #3

Open
TwilightMercy opened this issue Jan 6, 2023 · 20 comments
Open

Feature request - autoclean on interval #3

TwilightMercy opened this issue Jan 6, 2023 · 20 comments

Comments

@TwilightMercy
Copy link

It is possible for you to add options to AutoCleanup, not only on Start?
Like daily/weekly/etc

example for that feature is in OpenWizard addon

thanks!

@peno64
Copy link
Owner

peno64 commented Jan 6, 2023

I looked at the code in OpenWizard and I indeed see an implementation for it, but I really wonder it also works there...

@TwilightMercy
Copy link
Author

You can do better implementation 😉

@peno64
Copy link
Owner

peno64 commented Jan 12, 2023

@barronen1
I just released a new version. See https://github.com/peno64/script.ezmaintenanceplus/releases
It is not yet in my repo. I would like to have a test period first.

@TwilightMercy
Copy link
Author

Thank you very much

@TwilightMercy
Copy link
Author

TwilightMercy commented Jan 15, 2023

I have it configured every 1 day like in picture
But it still cleans everytime I restart Kodi

image

@peno64
Copy link
Owner

peno64 commented Jan 15, 2023

Then uncheck autoclean cache on startup...

@TwilightMercy
Copy link
Author

Done, still clears every startup for me

image

@peno64
Copy link
Owner

peno64 commented Jan 15, 2023

Not here and not according to the code...

I see you are using a special kind of skin. Who knows it's that. Can you try with the standard kodi skin (Estuary)

@TwilightMercy
Copy link
Author

Yeah it was from phone sorry, tested now in Windows PC, same results. configuration:

image

@peno64
Copy link
Owner

peno64 commented Jan 16, 2023

This is really really strange. Can you try with attached zip and then provide me the kodi.log file. It will log extra information such that I have more information.

script.ezmaintenanceplus-2023.01.09.0.zip

@TwilightMercy
Copy link
Author

Sure. With logging debug on?

@peno64
Copy link
Owner

peno64 commented Jan 16, 2023

no debug logging is not needed

@peno64
Copy link
Owner

peno64 commented Jan 17, 2023

@barronen1
Any progress with making/sending a kodi log? EzMaintenance kan make one for you and you can upload it such that you only need to provide a link here.

@TwilightMercy
Copy link
Author

Done.

Current configuration:

image

kodi.log:
https://pastebin.com/UALuVwmR

kodi.old.log:
https://pastebin.com/1UhMf68z

@peno64
Copy link
Owner

peno64 commented Jan 18, 2023

If you look in thtis kodi.log file:

2023-01-18 16:20:58.010 T:16676 info : ezmaintenanceplus: auto_clean = false

2023-01-18 16:21:01.039 T:16676 info : ezmaintenanceplus: No auto cleaning - auto_clean = false

So there is really no auto-clean

How do you conclude that an auto-clean is done?

Is it not a cleanup of packages and thumbnails that is done ? That is something different and is not part of that checkbox. Has never been.

image

If you don't want this to be done, put the file size to their maximum values.

@TwilightMercy
Copy link
Author

Every Kodi restart I get the following notification:

image

And if “Show Stats” is off, “so maintenance Complete” text.

@peno64
Copy link
Owner

peno64 commented Jan 18, 2023

Yes.That is clear packages, not auto cleanup.

It depends on this setting and this setting only and is only done at startup or if you do it manually:

image

@peno64
Copy link
Owner

peno64 commented Jan 18, 2023

And I think you see this because you enabled this setting:

image

@TwilightMercy
Copy link
Author

TwilightMercy commented Jan 19, 2023

Even if “Show Stats at Startup” is off, “maintenance Complete” notification appears.

So can autoclean every number of days setting can be for everything? (Packages, Thumbnails, Cache)

@peno64
Copy link
Owner

peno64 commented Jan 19, 2023

I don't thtink it is a good idea to clean thumbnais every x days. And packages... I don't know

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

2 participants