go-player is a basic web interface to omxplayer on the Raspberry Pi. You give it a filepath where you store all your video files and it will find anything ending in an extension put in the extension list and then display all those files on a webpage for you to be able to search through and then click on to start the video. From there you can then send commands to the film (such as pausing, fast forwarding, rewinding and of course stopping the film completely).
After you've downloaded it, cd into the directory and compile it with go build
and run it with
./go-player
. Once it's running, go to http://ip-of-RPi:8080
for the fun to begin.
You can move the directory to wherever you want just make sure you include the HTML files with it as they're
set up to look for a relative path (easily changeable of course in the code).
Check the issues tracker for feature implementations, bugs and so on.
This is the go version of my other project, sto-player which is written in python and uses web.py and popen as external dependencies. One of the reasons I started this project was I noticed a bit of slowness to sto-player on occasion (Testing this on the RPi2 hardware). sto-player could sometimes take around 2 seconds to perform commands like starting or stopping a film. go-player in contrast however is pretty much instantaneous in everything it does.
Note: You may think that this is due to the fact that I saved the file information into a sqlite database in sto-player, but this is even when we take this into account by removing that functionality
go-player depends has no external dependencies and uses only the go standard library, so if you have go installed, that's all you need to compile the program and get started.
As mention in the intro, you give it your media directory location, navigate to http://ip-of-RPi:8080
in
your web browser and select a movie from there. The interface is pretty straight forward I believe, so I don't think there
is much of a need of an explanation beyond that. Since there is always room for improvement, feel free to contact me
regarding improvements or suggestions to the interface or the application itself.
go-player is released under the MIT license, please refer to the LICENSE file for more information.