RasPlex / OpenPHT

OpenPHT is a community driven fork of Plex Home Theater
Other
597 stars 109 forks source link

What to do when running out of storage space? #332

Open Risca opened 1 year ago

Risca commented 1 year ago

OpenPHT: Stock OpenPHT-Embedded-1.8.0b.148-573b6d73-Odroid_C2.aarch64.img.gz PMS: 1.31.2.6739 on Synology NAS (irrelevant?)

I've run out of storage space on my Odroid C2 and OpenPHT doesn't show any posters or thumbnails at all.

What should I do?

Is it safe to remove /storage/.kodi/userdata/Thumbnails?

Risca commented 1 year ago

I ended up running:

find /storage/.kodi/userdata/Thumbnails -mtime +365 -type f -delete

to remove Thumbnails older than 1 year.

Haven't encountered any ill effects and my posters and thumbnails load as they should now

scotia70 commented 1 year ago

The page Kodi Artwork Cache describes the directory and what deleting it or its contents entails.

Risca commented 1 year ago

Thanks @scotia70! So, there's a sqlite database of all thumbnails too. I assume/hope that this database gets automatically updated when a cached file fails to load =)