I’m sure this isn’t OSMC specific but I am unable to resolve this issue with my Kodi installs on my RPIs…
I currently have a few RPIs setup, 3 with OSMC (1 RPI B and 2 with B+) and another that is what I call my Media Server. The Media Server is running RaspiBian with mySQL that manages all my Music and Videos, SMB share, no password and static IP address.
I recently started removing Movies from my SMB share and Cleaning the Video Library, I noticed that my Movies were not being removed from the Movie list (after rebooting the Media Server and the RPIs). The next issue, when I go to play this deleted video it say “This file is no longer available”, which is correct, it asks me if I would like to remove it, if I say yes, the list refreshes but still shows the Movie in my list.
I was hoping that someone would be able to assist me in resolving this issue. I am hoping to avoid a purge of my SQL database, etc.
My advancedsetting.xml is pretty basic (perhaps “importwatchedstate” is doing something more?):
<advancedsettings> <videodatabase> <type>mysql</type> <host>192.168.0.x</host> <port>3306</port> <user>redacted</user> <pass>redacted</pass> <name>kodi_video</name> </videodatabase> <videolibrary> <importwatchedstate>true</importwatchedstate> </videolibrary> <musicdatabase> <type>mysql</type> <host>192.168.0.x</host> <port>3306</port> <user>redacted</user> <pass>redacted</pass> <name>kodi_music</name> </musicdatabase> </advancedsettings>
My sources.xml file contains this and a few more sources that aren’t being used: