2020-04-12, 20:17
I've got a setup where two Kodi 18.6 share the same MariaDB database. That's working fine, but when I turn off the TV in the living room and want to watch one more episode in the bedroom I first have to play and stop a random file or reboot Kodi or otherwise update the library to make it refresh watch states or show recently added files on that instance. Is there are way to (preferably automatically) have Kodi monitor the database for changes and update the UI when relevant?
Relevant information: both systems run Kodi 18.6. The one in my living room runs on Windows 10, the one in the bedroom on a Pi 4 with LibreELEC. I have external software that notifies the Kodi instance in the living room of new updates so its database is normally up to date, the one in the bedroom does not get those updates so that I don't end up updating the same information in the shared database at the same time. But that does mean the UI of the instance in the bedroom has no idea that the data changed. Likewise the one in the living room has no idea of the changed play states of individual episodes or movies if I watched something in the bedroom and then move to the living room, though that is less of an issue because that fixes itself as soon as the external software pushes a new file.
Is there anything I can do to keep the UI of both systems in sync with the most recent data in the database?
Relevant information: both systems run Kodi 18.6. The one in my living room runs on Windows 10, the one in the bedroom on a Pi 4 with LibreELEC. I have external software that notifies the Kodi instance in the living room of new updates so its database is normally up to date, the one in the bedroom does not get those updates so that I don't end up updating the same information in the shared database at the same time. But that does mean the UI of the instance in the bedroom has no idea that the data changed. Likewise the one in the living room has no idea of the changed play states of individual episodes or movies if I watched something in the bedroom and then move to the living room, though that is less of an issue because that fixes itself as soon as the external software pushes a new file.
Is there anything I can do to keep the UI of both systems in sync with the most recent data in the database?