Streaming movies and music from Ubuntu to Xbox 360
Since Ushare seems to not work with Ubuntu 9.10, I decided to change application, and what I found is MiniDLNA.
The installation process is not automatic, but it is very easy:
Download the package from here, or grab the latest one from the site (current one is 1.0.16-pre7 1.0.16.3).
Unpack it:
tar -zxvf minidlna_1.0.16.3_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:
port=8200
media_dir=V,/home/scognito/Video
media_dir=V,/home/scognito/Scrivania
friendly_name=Headache
db_dir=/var/cache/minidlna
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg
inotify=yes
enable_tivo=no
strict_dlna=no
presentation_url=http://192.168.0.2:8200
notify_interval=900
serial=111222333
model_number=1
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!
sudo /usr/sbin/minidlna
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:
Name: minidlna
Command: /usr/sbin/minidlna
Confirm, and MiniDLNA will start at each boot
Update: Version 1.0.16.3 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)!



sUpAfIgUz!
mAs ha detto questo su novembre 22, 2009 a 7:11 pm
cmq al momento pare funzionare con i video ma non con immagini e musica -.-
mAs ha detto questo su novembre 22, 2009 a 7:26 pm
Thanks! This worked perfectly for me. Once the install was setup..I rebooted my computer, started minidlna and my XBox saw it right away..I like this better than Twonky
ZappaHead ha detto questo su novembre 25, 2009 a 5:26 am
Superb explanation for minidlna setup.
Setup on eeebuntu 3.0 to pair with popcorn hour, ps3 and sony tv
Good show:
Victor ha detto questo su febbraio 16, 2010 a 10:26 pm
[...] http://www.cognitivecombine.com/2009/12/diy-ubuntu-nas-with-afp-smb-dlna-and-itunes/ http://ubuntuforums.org/showthread.php?t=1283295 http://scognito.wordpress.com/2009/11/18/streaming-movies-and-music-from-ubuntu-to-xbox360/ [...]
How to configure MiniDLNA on Ubuntu Server? - Linux, Food, and Stuffs ha detto questo su settembre 15, 2010 a 10:17 pm
Awesome!! Thanks so much, this totally worked!!
Steve-0 ha detto questo su dicembre 7, 2010 a 1:37 am
[...] The busiest day of the year was June 6th with 343 views. The most popular post that day was Streaming movies and music from Ubuntu to Xbox 360. [...]
2010 in review « ha detto questo su gennaio 2, 2011 a 12:10 pm