Page 1 of 1
automatic clean library
Posted: 12 Nov 2017, 14:22
by Ruler18
Is there a way that the client automatically clean the library from time to time (I'm using
MySQL shared library on my NAS)? This would be a nice feature for users who delete files from time to time and don't want to manually start the clean process every time.
Thank you
Re: automatic clean library
Posted: 15 Nov 2017, 14:38
by toastie
I totally agree on that topic. I'm using a Synology NAS with
MySQL database and since I use a DS213 with 2 disks and lilmited space i often have to delete files from the NAS.
On Kodi there is a plugin which is called Watchdog (
http://kodi.wiki/view/add-on:watchdog)
Is it maybe possible to integrate something like this in the future version so there would be no need to manually clean the libary? Or at least a function which cleans the library every hour?
Re: automatic clean library
Posted: 15 Nov 2017, 21:08
by KeyserSoze
While maybe not exactly what you are looking for there is a way to clean the database on startup of MrMC.
http://kodi.wiki/view/Advancedsettings.xml
Turn on Update on startup in the MrMC settings (I don't remember exactly where that is) and make an advancedsettings.xml file and place that in your MrMC profile directory on your device (You can do this with File Manager in MrMC). I also wish this was a GUI setting but it is not because it can have large ramifications if your networked library is not available (it will remove every entry from your database).
Code: Select all
<advancedsettings>
<videolibrary>
<cleanonupdate>true</cleanonupdate>
</videolibrary>
</advancedsettings>