The installation process is not automatic, but it is very easy:
tar -zxvf minidlna_22.214.171.124_static.tar.gz
Copy the only 2 files in your system:
sudo cp etc/minidlna.conf /etc/
sudo cp usr/sbin/minidlna /usr/sbin/
Now we need to edit the config file, adding the paths we want to share.
I noticed that parsing a large number of files takes a lot of time, so I decided to share only the directories where I have movies (and not my Music library).
sudo gedit /etc/minidlna.conf
This is my minidlna.conf:
It’s almost the same as the default one, don’t forget to add as many media_dir as you need, set your friendly_name (the name your Xbox will see your pc), and most important, the presentation_url, otherwise pc will not be visibile from the Xbox (set it as your pc ip:port)
Start it and enjoy, your shares will be visible to your Xbox 360!
It will start in daemon mode (you can use the -d flag to debug if you have issues).
If you need to start MiniDLNA automatically at each boot, do the following:
Go to System -> Preferences -> Startup Applications, click Add, and use these settings:
Confirm, and MiniDLNA will start at each boot 🙂
Update: Version 126.96.36.199 added support for storing the db in a directory different than the default /tmp, so that informations will not be removed after each reboot (variable db_dir in the minidlna.conf)!