Jump to content
mrnoodle

Emby not purging old XMLTV files (Large Cache folder)

Recommended Posts

mrnoodle

Hey, I just wanted to report a bug for live tv guide.

Emby is not purging old live tv guide data located in the folder listed below. I have my guide data set to refresh hourly and I have mass amounts of old xmltv cache stored and must be deleted weekly as it is taking up 80GB of space after 14 days.

C:\Users\USERNAME\AppData\Roaming\Emby-Server\programdata\cache\xmltv

Until this feature gets added or fixed here are a couple things you can do:

Delete the old files manualy.

or

Write a script to automatically delete files in that location after "X" amount of days and run it through task scheduler. 

If you would like to setup the automatic method follow the link below.

https://pureinfotech.com/delete-files-older-than-days-windows-10/

Share this post


Link to post
Share on other sites
Happy2Play

A dev will have to comment more but there is a "Cache file cleanup" task that runs daily, but I believe only removes items older than 30 days old.

Cache file cleanup

Share this post


Link to post
Share on other sites
Luke
4 hours ago, Happy2Play said:

A dev will have to comment more but there is a "Cache file cleanup" task that runs daily, but I believe only removes items older than 30 days old.


Cache file cleanup

Yes that's correct. We can look at improving this for xmltv though.

  • Like 1

Share this post


Link to post
Share on other sites
cayars
On 6/17/2020 at 8:45 PM, mrnoodle said:

Hey, I just wanted to report a bug for live tv guide.

Emby is not purging old live tv guide data located in the folder listed below. I have my guide data set to refresh hourly and I have mass amounts of old xmltv cache stored and must be deleted weekly as it is taking up 80GB of space after 14 days.

Curious, why are you refreshing your guide data hourly vs daily?  What guide provider are you using?

If you switch to daily updates you would have 24 times less data sitting there. :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...