I was able to easily setup my hda as a DLNA server so we could play videos on my sons Xbox.
Here is what I did (for anyone else that wants to try it):
1. Install the DLNA application from the dashboard.
2. On the hda, open the file /var/hda/apps/dlna/amahi.conf in a text editor.
Change the last three lines in this section to point to the directories that contain your music, videos, and photos:
Code: Select all
# set this to the directory you want scanned.
# * if have multiple directories, you can have multiple media_dir= lines
# * if you want to restrict a media_dir to a specific content type, you
# can prepend the type, followed by a comma, to the directory:
# + "A" for audio (eg. media_dir=A,/home/jmaggard/Music)
# + "V" for video (eg. media_dir=V,/home/jmaggard/Videos)
# + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures)
media_dir=A,/var/hda/files/SharedFiles/Music
media_dir=V,/var/hda/files/SharedFiles/Videos
media_dir=P,/var/hda/files/SharedFiles/Photos
As you can see, I have a share named 'SharedFiles' where my media is stored. Note that I am NOT using Greyhole (yet), so I don't know what paths you would use for that.
Next, change the following line from:
Code: Select all
#db_dir=/var/cache/minidlna
Code: Select all
db_dir=/var/cache/minidlna
Save the file and exit the editor.
3. In a terminal window issue the following command to restart DLNA:
Code: Select all
sudo service amahi-dlna restart
4. Turn on your Xbox and browse to music, videos, or pictures. You should see 'Amahi' as a media choice for each media type you provided in the config file above. Choose it and you should be able to find the media you want! (I'm don't use the Xbox myself; my son had to show me how to do it!)
We just finished watching Apollo 13. Nice video!