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

twentronic
Posts: 5
Joined: Sat Aug 11, 2012 8:49 am

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

Postby twentronic » Sat Aug 11, 2012 9:04 am

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.
HDA test system:
OS: Ubuntu 12.04 server 64Bit
CPU: AMD Athlon(tm) 64 X2 4200+ Dual Core
RAM: 2GB DDR2
HDD: 500 GB WD Caviar Green

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

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

Postby bigfoot65 » Sat Aug 11, 2012 9:11 am

Check /etc/minidlna.conf for the configuration options. I will add it to the wiki.
ßîgƒσστ65
Applications Manager

twentronic
Posts: 5
Joined: Sat Aug 11, 2012 8:49 am

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

Postby twentronic » Sun Aug 12, 2012 7:53 am

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.
HDA test system:
OS: Ubuntu 12.04 server 64Bit
CPU: AMD Athlon(tm) 64 X2 4200+ Dual Core
RAM: 2GB DDR2
HDD: 500 GB WD Caviar Green

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

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

Postby bigfoot65 » Sun Aug 12, 2012 10:53 am

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.
ßîgƒσστ65
Applications Manager

twentronic
Posts: 5
Joined: Sat Aug 11, 2012 8:49 am

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

Postby twentronic » Sun Aug 12, 2012 1:55 pm

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.
HDA test system:
OS: Ubuntu 12.04 server 64Bit
CPU: AMD Athlon(tm) 64 X2 4200+ Dual Core
RAM: 2GB DDR2
HDD: 500 GB WD Caviar Green

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

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

Postby bigfoot65 » Sun Aug 12, 2012 2:32 pm

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.
ßîgƒσστ65
Applications Manager

apastor
Posts: 175
Joined: Fri Jan 14, 2011 6:58 am

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

Postby apastor » Mon Aug 13, 2012 8:24 am

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
Proxmox Server: Currently Not Running Amahi
CPU: AMD FX 6100 Six Core
RAM: 8GB DDR3
HDD: 4x1TB RAID10 (Adaptec)

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

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

Postby bigfoot65 » Mon Aug 13, 2012 4:01 pm

Could this be Greyhole related? Trying to understand what the issue might be.
ßîgƒσστ65
Applications Manager

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

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

Postby bigfoot65 » Mon Aug 13, 2012 4:36 pm

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.
ßîgƒσστ65
Applications Manager

apastor
Posts: 175
Joined: Fri Jan 14, 2011 6:58 am

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

Postby apastor » Wed Aug 15, 2012 9:17 am

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.
Proxmox Server: Currently Not Running Amahi
CPU: AMD FX 6100 Six Core
RAM: 8GB DDR3
HDD: 4x1TB RAID10 (Adaptec)

Who is online

Users browsing this forum: No registered users and 5 guests