Hello,
I am using the build in “kodi-send” command, to control my kodi. (I have a remote control, a second raspberry pi with lirc and an IR sensor that I configured to control kodi, which is installed on raspberry pi).
Normally I control it from the remote raspberry pi client with the command kodi-send –host –port –action
Then I noticed, that after a few actions (10-15), kodi stops responding.
I enabled debug logging. The log says “Cannot accept any more clients, maximum client count reached”.
It is working again after waiting less than a minute, so i guess it is deleting the clients after some time after the action command was send. (?)
I tried using the kodi-send command on kodi directly (connecting with SSH), there I get the same. Kodi does not react any more and in the log it says “Cannot accept any more clients, maximum client count reached”.
I searched the kodi wiki and google. But I could not find anyone with the same problem.
So, my questions are:
Is there a setting to set the maximum client count in kodi to a higher number?
If not, is there a possibility that kodi-send does not create a new connection with every command if it is comming from the same client and therefore does not create a new client that adds to the maximum client count?
Or perhaps there is a method to disconnect directly after sending a commmand via kodi-send?
Thanks in advanced,
Izzymon