Cleaning media library

I would like to know how to clear library after removing files. With Kodi an option gave acces to this feature but I can’t find it in OSMC.
Thanx for your help


Have you tried selecting ‘Expert’ in the settings mode? It is set to Standard by default and the amount of visible options are limited by default


It was that!
Thanx a lot

hi all,

please under which option i can find clearing of the media library?

also i would like delete old mapped NW disks, how can i do that please?

Clean Library is under System -> Video or Music depending on what you wish to clean. At least, Clean Library on Startup is.


thanks Sam, and regarding the file shares please? how can i delete old entrys?


sorry for my english :smile:

is possible to make a CLEAN UP LIBRARY on startup?

There is an option for this in Settings


There is also a plug in that runs update/clean library on timer and startup.


Fast method. Console:


curl --data-binary ‘{ “jsonrpc”: “2.0”, “method”: “VideoLibrary.Clean”, “id”: “mybash”}’ -H ‘content-type: application/json;’ http://IP:80/jsonrpc


curl --data-binary ‘{ “jsonrpc”: “2.0”, “method”: “VideoLibrary.Scan”, “id”: “mybash”}’ -H ‘content-type: application/json;’ http://IP:80/jsonrpc

hi, not work for me:

curl: (7) Failed to connect to port 80: Connexion refusée

why ?