Visit the LQ Articles and Editorials section
Go Back > Linux Answers > Applications / GUI / Multimedia
User Name


By ivanolo at 2007-05-03 12:18
For those of us who have a D-Link DSM-520 media player, or if you're thinking about getting one and don't want to use Windows or pay for TwonkyVision, here's a quick and dirty guide to install uShare 0.9.6, the only version I could get to work with Ubuntu 6.06 LTS without complaining about dependencies. Please keep in mind that, even though I've experimented with Linux in the past, I'm still, for all intents and purposes, a newbie.

From a terminal, issue the following command:
sudo apt-get install build-essential manpages-dev autoconf automake libupnp-dev libupnp0
Type 'Y' and press 'ENTER' when prompted.

Next, get the source for uShare 0.9.6 from here. You can save the file to your desktop.

Extract the file
tar -xvjf ushare-0.9.6.tar.bz2
Now, add support for AVI files, or the DSM-520 won't play them!
gedit /home/username/Desktop/ushare-0.9.6/src/mime.c
Look for the following line:
{ "avi", UPNP_VIDEO, "http-get:*:video/avi:*"},
Replace it so that it says:
{ "avi", UPNP_VIDEO, "http-get:*:video/x-msvideo:*"},
Save the changes and close the window.

Follow the instructions found on the uShare website:
CFLAGS="-Os" ./configure --prefix=/usr
make install-strip
Alternatively, you can try this method, although it didn't work for me, which is why I did it this way.

uShare official website:


All times are GMT -5. The time now is 11:03 AM.

Main Menu

Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration