MiniDLNA Configuration questions

I’ve been working on installing Minidlna and run into a couple issues.

  1. It shows files on my Drobo, but misses many of them. I have roughly 600 files and 10 directories at /mnt/DroboFS/Shares/Video but it seems to see only about the first 100 or so. Does it search subdirectories without any special input? I have tried stopping the service and deleting the database in order to restart it and force a rescan with only minimal improvement (+10 files). Does anyone have ideas on what else I could try?

  2. I was using Fuppes, then tried Mediatomb and they both listed Folders on top of the directory listing (I realize not everyone agrees but it’s hierarchy)
    but minidlna seems to mix the folders in with the files. BTW, same device- a WDTVLive player, different results.) Can anything be done?

  3. Lastly when I define a Video directory using “media_dir=V,/mnt/DroboFS/Shares/Video” it still lists Music, Pictures and Video. Odd since when pointed to the same directory “Video” in the other two apps it only saw Video folder and the subdirectories like “Movies” and “TV Shows” underneath. Any ideas?

using ver 1.0.25 (latest as of 1/1/2013)

Any assistance appreciated.

  1. In theory minidlna does automatically scan all subfolders and indexes all media files. In practice the FS has a small amount of RAM and a slow CPU. Indexing may (and does) take a long time.

What about the codec used in the files? It could be a matter of your player not having support for the codecs and thus hiding the files.

  1. The way files/folders are displayed is defined by the client. Minidlna does offer a raw files/folders output, but anything other than that is client dependent.

  2. That might be a bug in minidlna. A possible next step is to ask about it in the minidlna forums: http://sourceforge.net/projects/minidlna/forums

Thanks Ricardo.

On #1
I stopped the service, deleted the database and restared and THIS TIME it worked. No idea what was different, I just kept trying.

On #2
This is frustrating but isn’t a deal killer, and yes I verified is client dependent.

On #3
I’ll check it out. I first wanted to verify what I expected was correct, so now i dive in.

Thanks for the response.
-Jeff

Hi Ricardo,

I have some questions. I installed the latest version of miniDLNA and created a test directory. I modified the configuration file and there was no way. I can see the DLNA server from within XBMC but no files appear.
I leave here the settings and log files, if you can help?:

Settings

[quote]# 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=V,/mnt/DroboFS/Shares/Prueba

set this if you want to customize the name that shows up on your clients

friendly_name=DroboPrueba

set this if you would like to specify the directory where you want MiniDLNA to store its database and album art cache

db_dir=/mnt/DroboFS/Shares/DroboApps/minidlna/var/cache/minidlna

set this if you would like to specify the directory where you want MiniDLNA to store its log file

log_dir=/mnt/DroboFS/Shares/DroboApps/minidlna/var/log

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=no

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

use different container as root of the tree

possible values:

+ “.” - use standard container (this is the default)

+ “B” - “Browse Directory”

+ “M” - “Music”

+ “V” - “Video”

+ “P” - “Pictures”

if you specify “B” and client device is audio-only then “Music/Folders” will be used as root

#root_container=.[/quote]

LOG

[quote][2013/01/25 07:05:21] minidlna.c:884: warn: Starting MiniDLNA version 1.0.25 [SQLite 3.7.13].
[2013/01/25 07:05:21] minidlna.c:907: warn: Creating new database…
[2013/01/25 07:05:21] minissdp.c:71: error: setsockopt(udp, IP_ADD_MEMBERSHIP): Address already in use
[2013/01/25 07:05:21] minissdp.c:121: warn: Failed to add multicast membership for address 192.168.0.18
[2013/01/25 07:05:21] minidlna.c:990: warn: HTTP listening on port 8200
[2013/01/25 07:05:21] playlist.c:125: warn: Parsing playlists…
[2013/01/25 07:24:21] minidlna.c:884: warn: Starting MiniDLNA version 1.0.25 [SQLite 3.7.13].
[2013/01/25 07:24:21] minissdp.c:71: error: setsockopt(udp, IP_ADD_MEMBERSHIP): Address already in use
[2013/01/25 07:24:21] minissdp.c:121: warn: Failed to add multicast membership for address 192.168.0.18
[2013/01/25 07:24:21] minidlna.c:990: warn: HTTP listening on port 8200
[2013/01/25 07:48:20] minidlna.c:884: warn: Starting MiniDLNA version 1.0.25 [SQLite 3.7.13].
[2013/01/25 07:48:20] minissdp.c:71: error: setsockopt(udp, IP_ADD_MEMBERSHIP): Address already in use
[2013/01/25 07:48:20] minissdp.c:121: warn: Failed to add multicast membership for address 192.168.0.18
[2013/01/25 07:48:20] minidlna.c:990: warn: HTTP listening on port 8200[/quote]

This is a known issue between XBMC and minidlna: http://sourceforge.net/projects/minidlna/forums/forum/879956/topic/4995523

So is there no solution?

I don’t know. The thing I know for sure is that XBMC 11 (the Eden series) does not seem to work. I have it installed on a Mac and it shows the same problem as you saw.

Maybe XBMC 12 (the Frodo series) works? I haven’t tried that yet.

Ok, thank you for your time.