This is a major problem. On triggering the Series-BOT, I believe the main thread hangs causing further activities in the hub to hang as well. Right now, the Series-BOT uses a Powershell Script to download Series Info from the TVRage API. This is done on the Main Thread. I believe, this is causing the problem. Any Comments?
I think we shift the io.popen() command execution to another thread in the script. This should solve the problem. What say?
This is a major problem. On triggering the Series-BOT, I believe the main thread hangs causing further activities in the hub to hang as well. Right now, the Series-BOT uses a Powershell Script to download Series Info from the TVRage API. This is done on the Main Thread. I believe, this is causing the problem. Any Comments?
I think we shift the
io.popen()command execution to another thread in the script. This should solve the problem. What say?