phillyfan1138 4 Posted March 15, 2014 Share Posted March 15, 2014 (edited) I have written a very basic client for the Dune Media Player. This client allows control of the Dune from other clients and is written in python. My code borrows heavily from XBMB3C, though its much shorter. It works on my setup (File server and MB3 on different servers). I can control the dune from both the web client and my windows phone client. I don't think there will be any issue if MB3 and the File server are on the same machine (in fact I plan to go that route as soon as I get MB3 running on linux) but since I haven't tested it I don't know if it will work. The package WebSocket must be installed for this python script to run: see https://pypi.python.org/pypi/websocket-client/ for how to install. If the script is run on a headless remote (linux) server, run with "nuhup ./DuneClient.py &" to disconnect the script from the ssh terminal. To kill the process when run like this use "killall DuneClient.py". Here is the download: https://github.com/phillyfan1138/MBDuneClient Edited April 5, 2014 by phillyfan1138 3 Link to comment Share on other sites More sharing options...
phillyfan1138 4 Posted April 4, 2014 Author Share Posted April 4, 2014 (edited) I have updated the client. I ran into consistency issues with my first commit; sometimes the client would not be recognized by the server. These issues should be resolved with this update. An additional issue that I am hoping to resolve soon is that when the server restarts the client does not automatically reconnect. Currently you have to restart the client after a server restart. Edited April 4, 2014 by phillyfan1138 Link to comment Share on other sites More sharing options...
Luke 37118 Posted April 5, 2014 Share Posted April 5, 2014 Well done! Link to comment Share on other sites More sharing options...
phillyfan1138 4 Posted April 5, 2014 Author Share Posted April 5, 2014 I just pushed another commit. This one waits 10 seconds after communication is lost to the server and then restarts. This should allow time for the server to restart for updates and not permanently lose connection with the client. Link to comment Share on other sites More sharing options...
WWWestern 94 Posted April 24, 2014 Share Posted April 24, 2014 phillyfan1138, is any chance for product to going as the official MB3 client for Dune HD? And what about localization? Thanks. Link to comment Share on other sites More sharing options...
phillyfan1138 4 Posted April 24, 2014 Author Share Posted April 24, 2014 phillyfan1138, is any chance for product to going as the official MB3 client for Dune HD? And what about localization? Thanks. I doubt it, my app is pretty bare bones. Anyone is welcome to edit it to be a more fully featured app. By localization do you mean videos stored on the Dune's drive? I can try to add that functionality but I don't use that functionality so it would be difficult for me to test it. Link to comment Share on other sites More sharing options...
WWWestern 94 Posted April 24, 2014 Share Posted April 24, 2014 By localization do you mean videos stored on the Dune's drive? I can try to add that functionality but I don't use that functionality so it would be difficult for me to test it. No. It about translation the user interface. Link to comment Share on other sites More sharing options...
Dune 0 Posted July 28, 2015 Share Posted July 28, 2015 HI, could someone please help me with my dune player; I stuck on the first point of your description to install the WebSocket. Looks like that I have no python installed, aswell pip...so when I Type "python setup.py install" I received "python" not found The only executable that I can found is “install” but that doesn’t work. Thanks! Link to comment Share on other sites More sharing options...
Dune 0 Posted July 29, 2015 Share Posted July 29, 2015 I think I got it; optware is the key to python on my Dune Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now