Page 1 of 4

Amahi DLNA does not show all share dir (Ubuntu server 12.04)

Posted: Sat Aug 11, 2012 9:04 am
by twentronic
Yesterday I have installed Amahi on a Ubuntu 12.04 LTS server edition. All looks wel but I have a problem with the Amahi DLNA server. The server only shows the shares pictures and music. It does not show movies and another (shared) directory with home video's. Both directories contain movie files such as AVI, MPEG and MKV.

Can someone tell my how to configure Amahi DLNA correctly? The config file is not in the location /var/hda/apps/dlna/ where it should be according to the wiki page http://wiki.amahi.org/index.php/DLNA.

I have tried the server on my PS3, Sony LCD TV and Western Digital TVliveHD mediaplayer. But the server does not show the video shares.

I have tried to reinstall the Amahi DLNA server but it did not work.

So can somebody help me?

Thank you.

Re: Amahi DLNA does not show all share dir (Ubuntu server 12

Posted: Sat Aug 11, 2012 9:11 am
by bigfoot65
Check /etc/minidlna.conf for the configuration options. I will add it to the wiki.

Re: Amahi DLNA does not show all share dir (Ubuntu server 12

Posted: Sun Aug 12, 2012 7:53 am
by twentronic
Thank you for the quick reply. I have located the config file and it looks right to me, I only added my homevideo dir. But even after restart of the DLNA server it still does not show any video dir. It only shows pictures and music.

Here is my config file:
# port for HTTP (descriptions, SOAP, media transfer) traffic
port=8200

# network interface to bind to (this is the only interface that will serve files)
#network_interface=eth0

# 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/Music
media_dir=V,/var/hda/files/Movies
media_dir=V,/var/hda/files/Homevideo
media_dir=P,/var/hda/files/Pictures

# set this if you want to customize the name that shows up on your clients
#friendly_name=My DLNA Server

# set this if you would like to specify the directory where you want MiniDLNA to store its database and album art cache
#db_dir=/var/cache/minidlna

# this should be a list of file names to check for when searching for album art
# note: names should be delimited with a forward slash ("/")
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

# set this to no to disable inotify monitoring to automatically discover new files
# note: the default is yes
inotify=yes

# set this to yes to enable support for streaming .jpg and .mp3 files to a TiVo supporting HMO
enable_tivo=yes

# set this to strictly adhere to DLNA standards.
# * This will allow server-side downscaling of very large JPEG images,
# which may hurt JPEG serving performance on (at least) Sony DLNA products.
strict_dlna=no

# default presentation url is http address on port 80
#presentation_url=http://www.mylan/index.php

# notify interval in seconds. default is 895 seconds.
notify_interval=900

# serial and model number the daemon will report to clients
# in its XML description
serial=12345678
model_number=1
The file permisions off all directories are the same and set to 775.

What could there be wrong? Do I need to install some codecs?

Thanks again for the help.

Re: Amahi DLNA does not show all share dir (Ubuntu server 12

Posted: Sun Aug 12, 2012 10:53 am
by bigfoot65
Quite honestly I am unsure if the codecs are the issue or not. Suggest you google for Ubuntu and minidlna. This issue may have been reported and solved in the Ubuntu world.

Re: Amahi DLNA does not show all share dir (Ubuntu server 12

Posted: Sun Aug 12, 2012 1:55 pm
by twentronic
I have googled minidlna and ubuntu but I can not find simmilar problems..

I have installed FFMPEG but that does not work either. The video directories do simply not show on any DLNA client in my network.

Is there a alternative for the Amahi DLNA? The Amahi DLNA is the only app that is live (witch meens it should work).

Maybe miniDLNA needs further testing on Ubuntu?? Or am I the only one with this problem?

Thanks again.

Re: Amahi DLNA does not show all share dir (Ubuntu server 12

Posted: Sun Aug 12, 2012 2:32 pm
by bigfoot65
I have googled minidlna and ubuntu but I can not find simmilar problems..
Sorry to hear you have not found any help.
Is there a alternative for the Amahi DLNA? The Amahi DLNA is the only app that is live (witch meens it should work).
Not sure if we have any other apps that will fill the same role.
Maybe miniDLNA needs further testing on Ubuntu?? Or am I the only one with this problem?
I have not heard of anyone reporting the same issue. This may be an isolated issue.

Re: Amahi DLNA does not show all share dir (Ubuntu server 12

Posted: Mon Aug 13, 2012 8:24 am
by apastor
I was having the same issue as well. Unfortunately I was also having other issues with Ubuntu Amahi as well.

I could not find a fix for it either. I ended up rebuilding the server and not going with amahi.

I will just install the apps myself.

I keep checking back here for any updates.

Good luck

Re: Amahi DLNA does not show all share dir (Ubuntu server 12

Posted: Mon Aug 13, 2012 4:01 pm
by bigfoot65
Could this be Greyhole related? Trying to understand what the issue might be.

Re: Amahi DLNA does not show all share dir (Ubuntu server 12

Posted: Mon Aug 13, 2012 4:36 pm
by bigfoot65
Here's what I did:

Edit /etc/default/minidlna.conf and uncommented the following:
network_interface=eth0
friendly_name=My DLNA Server

I then did sudo service minidlna force-reload.

After a few minutes, music, photos, and video started to appear. I am sure the name did not do the trick, but maybe uncommenting the eth0 did.

I updated the app accordingly, so you can uninstall and reinstall or just make the changes. I am hoping this solved the issue.

Re: Amahi DLNA does not show all share dir (Ubuntu server 12

Posted: Wed Aug 15, 2012 9:17 am
by apastor
OK I am giving Amahi another chance.

This time I am going back to using 2 HDD not 3, and see if this fixes issues.