Open virtadpt opened 6 years ago
Update: I installed Beekeeper into a virtualenv, so I went into the local copies of api.py and comms.py and changed the hardcoded timeouts to 180 seconds (after making backup copies). This solves the problem as a PoC, but it doesn't solve the problem. Would it be feasible to expose the timeout
variable with kodipydent so the timeout value could be made easily configurable?
Hi @virtadpt! I'm looking into how we can accomplish this effectively. Hope to have results for you soon.
I'm using kodipydent to write a remote control for a Kodi box with a couple of tens of thousands of MP3s in the audio library. I keep getting
socket.timeout
exceptions when loading the songs library:The exception is popping up in Kodi.AudioLibrary.GetSongs().
Is there a way that I can change the timeout (which appears to be hardcoded in Beekeeper (https://github.com/haikuginger/beekeeper/blob/master/beekeeper/api.py#L165)) to something longer than five seconds? Is there something in the kodipydent docs that I'm missing?