Is there a method to hide or suppress error messages?

I run RasPlex as a touchless client. A python script running on another pi controls playback remotely. As such, I don’t have a remote, keyboard or mouse connected to my RasPlex. Occasionally, when entering playback, RasPlex will kick an “Error creating play queue” dialogue box, which takes up a large section of the middle of the screen. Playback has never been prevented or interrupted as a result of this error, but the box gets in the way of viewing and I’m stuck using SSH to direct the script to clear the popup.

So, to my question, is there a setting or method to suppress, hide or auto-clear this popup? My goal with this setup is for it to be automatic and require near-zero interaction and this error is one of the final bits standing in the way of that.

So you are controlling your rasplex with something like xbmc-send but you want to know how to pass a key to close the error message?

I’m not familiar with xbmc-send, but it’s probably similar. What i’m using is this script. The script itself has a command i can enter (hitok) to basically hit the OK button and clear the error. The issue is that it requires me to SSH into the raspberry pi running the script and manually enter the command, which is something I’m trying to avoid. I’d like a method to either prevent the error message from appearing or to automatically clear it once it does without manual intervention.

Well if its an error message it should appear on the debug, and if you dont find whats causing it you could at least build a script that continually checks the log for changes and if it reads that error it passes the correct key press for closing the message and running it like a daemon.

probably do a tail -f on the log, grep the error pattern and pass it through an if and pass the key

Sorry but I never got that message or used those scripts to tell you what could be wrong on your implementation