Jump to content

Dune Client


phillyfan1138

Recommended Posts

phillyfan1138

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 by phillyfan1138
  • Like 3
Link to comment
Share on other sites

  • 3 weeks later...
phillyfan1138

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 by phillyfan1138
Link to comment
Share on other sites

phillyfan1138

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

  • 3 weeks later...
WWWestern

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

phillyfan1138

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

WWWestern

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

  • 1 year later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...