I am currently unable to access my TV [Kodi] at the moment and I would like to remove content from the movie and music directories and then delete them (/home/osmc/.kodi/userdata/Database/ from what I see). I will then issue a clean-up. I would like to achieve this from CLI. I don’t believe this is possible from web-server, is that correct?
Does anyone know the order and syntax to achieve this?
Thanks in advance for suggestions.
Thanks, however I think I probably didnt explain that correctly :
I’m looking to remove all meta-data related to the content, not the actual media itself. My error.
As its running under osmc user, I believe some (if not all?) of the metadb is here? /home/osmc/.kodi/userdata/Database/ by default?
Thanks for the cleanup link, that should work nicely.
I used a combination of the cleaning / rescan and some testing with scripts as I needed to play with mount points on external usb storage too; didn’t want to go into great detail about all that as I know what I needed to do. Appreciate the response though and of course @fzinken and the link provided.