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

option to delete cache at startup #164

Open
nona00 opened this issue Sep 28, 2024 · 11 comments
Open

option to delete cache at startup #164

nona00 opened this issue Sep 28, 2024 · 11 comments

Comments

@nona00
Copy link

nona00 commented Sep 28, 2024

for analyzing EPG it would be great to have an option to delete the cache at startup of the application

@andimik
Copy link
Contributor

andimik commented Sep 28, 2024

Why don't you use a script to delete it for you?

@KejPi
Copy link
Owner

KejPi commented Oct 6, 2024

Good question!
@nona00 any comment?

@nona00
Copy link
Author

nona00 commented Oct 6, 2024

yes this would be possible, but settings in the app to define the cache age for slideshow and spi data would be fine

@KejPi
Copy link
Owner

KejPi commented Oct 6, 2024

Slideshow has no cache, only SPI data is cached. This includes service logos and EPG. I agree with @andimik that you should delete cache by script if you want, I do not think that this is a feature that others want. I might consider implementing this feature as command line switch - would it fit your use case?

@nona00
Copy link
Author

nona00 commented Oct 6, 2024

yes, a command line switch would be great

@andimik
Copy link
Contributor

andimik commented Oct 7, 2024

I don't think this feature will have more than one user.

@andimik
Copy link
Contributor

andimik commented Oct 7, 2024

But if you really want that feature for analysis of the SPI, I recommend you to store all SPI files to the drive, see settings menu. Each time, the content changes, you will see a new folder, and you still can browse the old folder and its content.

@KejPi
Copy link
Owner

KejPi commented Oct 7, 2024

That is very good point!
@nona00 what exactly do you want to do?

@nona00
Copy link
Author

nona00 commented Oct 7, 2024

We had some issues with ODR Bridge EPG creator. For different iq recordings I want to check if all logos are received correctly and not that cached data is used. I already enabled storing of SPI files, but then I have to clear cache and download folder.

If nobody else needs this feature I can also create a batch for me.

@KejPi
Copy link
Owner

KejPi commented Oct 7, 2024

Using SPI data storage is anyway better approach because this way all SPI objects are stored (all logos, binary encoded xml files and decoded version of it and anything else that might be broadcasted in MOT directory) while application stores in its cache only logos 32x32 and 320x240.

@andimik
Copy link
Contributor

andimik commented Oct 7, 2024

Yes, @KejPi is right. I recommend to save SPI.

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

3 participants