Currently, I have my pi hooked to the TV and I use it to play movies via ssh. While I love simplicity of tmux and ssh, people around me are not quite excited about it :)
My plan is to have a web-interface running on the pi and hopefully control it from the browser. So I ended up writing a really simple flask app that returns a list of movies and I can play them by launching omxplayer
via flask
using the sub-process
module. Its not terrific or anything, but it works.
The problem though is sending commands to the player! It might be possible by talking to the omxplayer process, but I am not sure how.
Any ideas? I know that I can just use xmbc but wheres the fun in that :)