I want to watch some divx movies on my XBOX360 (without HDD). They are stored on a DM800 Dreambox (with HDD).

First you need UShare v1.1a, the UPnP Daemon. I found a static compiled mipsel version here, which will run on the DM800 Dreambox. I also created a local mirror of this binary file.

There are some issues compiling a non-static version, for more information click here.

Anyway, first copy the binary file to the Dreambox and set the executable flag (chmod a+x ./ushare). Now the important step, setup a multicast route for UPnP messages:

1
root@dm800:/tmp# route add -net 239.0.0.0 netmask 255.0.0.0 eth0

Now you may start the UPnp Daemon:

1
2
3
4
5
6
7
8
9
10
11
root@dm800:/tmp# ./ushare -c /media/hdd/divx/ -v -x
Warning: can’t parse file "/etc/ushare.conf".
uShare (version 1.1a), a lightweight UPnP A/V and DLNA Media Server.
Benjamin Zores (C) 2005-2007, for GeeXboX Team. See http://ushare.geexbox.org/ for updates.
Listening on telnet port 1337 Initializing UPnP subsystem …
Starting in XboX 360 compliant profile …
UPnP MediaServer listening on 192.168.111.18:49152 Sending UPnP advertisement for device …
Listening for control point connections …
Building Metadata List …
Looking for files in content directory :
/media/hdd/divx/ /media/hdd/divx/just-a-movie.avi Entry->URL (100001): 100001.avi Found 2 files and subdirectories.

A start log of the UPnP Daemon without multicast routing:

1
2
3
4
5
6
7
8
9
10
11
12
root@dm800:/tmp# ./ushare -c /media/hdd/divx/ -v -x -d
Warning: can’t parse file "/etc/ushare.conf".
uShare (version 1.1a), a lightweight UPnP A/V and DLNA Media Server.
Benjamin Zores (C) 2005-2007, for GeeXboX Team. See http://ushare.geexbox.org/ for updates.
Listening on telnet port 1337 Initializing UPnP subsystem …
Starting in XboX 360 compliant profile …
Starting in DLNA compliant profile …
UPnP MediaServer listening on 192.168.111.18:49152 Sending UPnP advertisement for device …
Listening for control point connections …
Building Metadata List …
Looking for files in content directory :
/media/hdd/divx/lost/ /media/hdd/divx/just-a-movie.avi can’t open file: /media/hdd/divx/ just-a-movie.avi Found 1 files and subdirectories. Terminated

Hint: I had some strange errors when the divx filenames contained special chars - so I removed them. I also don’t use any subdirectories.
You may browse to http://dreambox:49152/web/ushare.html and check the webif.

Edit 24.8.08:
The newnigma team released libusb3 and ushare v1.1a on the unstable feed, grab those file, its much cleaner and easier! You just need to edit the script /etc/init.d/ushare and add the option “-x” to the ARGS variable (to enable XBOX360 support).