RasPlex / OpenPHT

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

Move ThemeMusicCache and Thumbnails into ~/Library/Caches on Mac #215

Closed Haravikk closed 7 years ago

Haravikk commented 7 years ago

Currently OpenPHT on Mac stores cached theme music and thumbnails under ~/Library/Application Support, however this isn't really a good place for it as these aren't crucial user data and don't need to be backed up.

I would like to request that these instead be stored somewhere under ~/Library/Caches which is the correct location for disposable data that does not need to be included in backups, and can be discarded without consequence.

There may be other files that can be relocated but I'm not familiar enough with what everything else actually stores, so hopefully someone can add an other suggestions for items to relocate. For example I'm not sure what the databases actually store? If there are no settings then presumably these are recreated automatically as well, so don't need to be there either.

I realise it may seem fairly minor as an issue, but it's good practice to avoid writing stuff into Application Support that doesn't need to be there. In fact, depending upon what else can be moved OpenPHT may not need an Application Support folder at all, if settings are instead stored under ~/Library/Preferences.

dan-the-man-nz commented 7 years ago

its uses the same path structure Kodi uses, i personally dont really think this is a valid issue but if the others disagree please reopen.

http://kodi.wiki/view/Mac_FAQ#Userdata

Haravikk commented 7 years ago

Sorry but that's not really a convincing reason not to change it, it just means that Kodi is doing it wrong as well 😝

Simple fact is that caches belong in the cache folders; theme music and thumbnail caches clearly fall into that category, along with anything else that is ephemeral, i.e- can be recreated on launch and contain nothing critical like settings.