DLNA / Xbox success!

User avatar
radioz
Posts: 406
Joined: Tue Nov 24, 2009 1:07 pm

DLNA / Xbox success!

Postby radioz » Sat Dec 18, 2010 11:55 pm

Forums like this tend to be filled mostly with discussions of problems, so I thought I would share a small success I had.

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
If you don't have photos for example, just put a '#' in front of the line.

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
to this:

Code: Select all

db_dir=/var/cache/minidlna
This puts the dlna log file in where it belongs in /var/cache (instead of the /tmp directory).

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
Give the system a minute (more) to scan your media directories to build its database.

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!

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: DLNA / Xbox success!

Postby bigfoot65 » Sun Dec 19, 2010 9:05 am

This sounds like something worthy of adding to the wiki. Can you do that for us? It would be greatly appreciated.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

User avatar
radioz
Posts: 406
Joined: Tue Nov 24, 2009 1:07 pm

Re: DLNA / Xbox success!

Postby radioz » Sun Dec 19, 2010 9:12 am

Sure!

rshibley
Posts: 4
Joined: Mon Dec 27, 2010 3:34 pm

Re: DLNA / Xbox success!

Postby rshibley » Mon Dec 27, 2010 3:37 pm

My Xbox 360 worked with Amahi DLNA without any fuss without my even doing any of this. It's good instructions on how to change folders, though. Maybe once I move to Greyhole I will need to change the media locations this way. Thanks for pointing it out, though.

BTW: I am very impressed with Amahi so far. Installed it yesterday in frustration with Windows Home Server streaming to Xbox; Amahi just worked perfectly, and I can even fast forward and rewind. Astounding.

smartstradamus
Posts: 14
Joined: Tue Nov 30, 2010 5:28 pm

Re: DLNA / Xbox success!

Postby smartstradamus » Thu Dec 30, 2010 9:29 am

Has anybody been able to get thumbs to display on their 360 using this amahi dlna app?
Is it even possible?

Who is online

Users browsing this forum: No registered users and 39 guests