Mediacontroller is a project mainly written in JAVA and JAVASCRIPT, it's free.
This is the README file