LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Linux Answers > Applications / GUI / Multimedia
User Name
Password

Notices


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

Follow the instructions found on the uShare website:
Code:
CFLAGS="-Os" ./configure --prefix=/usr
make
&
Code:
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: http://ushare.geexbox.org/


  



All times are GMT -5. The time now is 02:33 PM.

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