I figured out how to (safely) start an X11 program – Kodi in this case – from the commandline. Written up here for someone else trying to figure out the same thing.
I wrote a small script for showing a “now playing” display for MPD!
If you use TMUX, you probably want to take a quick look at this post. 🙂
Two very nice QoL tweaks to my script that automatically creates diverse playlists for MPD.