D-Link Forums

D-Link Wireless Routers for Home and Small Business => DIR-1960 => Topic started by: akeizm on June 28, 2020, 04:50:20 PM

Title: Minidlna Configuration
Post by: akeizm on June 28, 2020, 04:50:20 PM
Hi,

I was wondering if you are able to access the minidlna.conf file to change the settings of the Dlna server?  I'm having a few issues with scanning media on my drive (didn't have issues with my old router (tplink archer c7 running ddwrt) and want to adjust the settings to try and correct. It seems its having issues scanning some images, but I don't want images scanned as I'm only interested in videos.

[2020/06/28 20:12:22] minidlna.c:931: warn: Starting MiniDLNA version 1.0.24 [SQLite 3.21.0].
[2020/06/28 20:12:22] minidlna.c:954: warn: Creating new database...
[2020/06/28 20:12:24] minidlna.c:1031: warn: HTTP listening on port 60299
[2020/06/28 20:12:24] scanner.c:781: warn: Scanning /mnt
[2020/06/28 20:12:25] upnpsoap.c:1739: warn: Returning UPnPError 402: Invalid Args
[2020/06/28 20:12:26] upnpsoap.c:1739: warn: Returning UPnPError 402: Invalid Args
[2020/06/28 20:18:20] scanner.c:542: warn: Unsuccessful getting details for /mnt/Seagate_Portable_13X21/Image/FB_IMG_1554021993059.jpg!
[2020/06/28 20:18:42] scanner.c:542: warn: Unsuccessful getting details for /mnt/Seagate_Portable_13X21/Image/IMG_20190430_140840.jpg!
[2020/06/28 20:18:42] scanner.c:542: warn: Unsuccessful getting details for /mnt/Seagate_Portable_13X21/Image/IMG_20190521_125854.jpg!
[2020/06/29 09:39:27] minidlna.c:153: warn: received signal 15, good-bye
[2020/06/29 09:40:33] minidlna.c:852: error: MiniDLNA is already running. EXITING.

Thanks, Marc.
Title: Re: Minidlna Configuration
Post by: FurryNutz on June 28, 2020, 09:10:25 PM
Link>Welcome! (http://forums.dlink.com/index.php?topic=49573.0)


I don't think you can configure the scan for specific file types, it scan all files.

What happens if you remove these files from the storage device. Place them some were else or on a different storage device.
FB_IMG_1554021993059.jpg
IMG_20190430_140840.jpg
IMG_20190521_125854.jpg
Title: Re: Minidlna Configuration
Post by: akeizm on June 28, 2020, 09:47:23 PM
I'm running the latest firmware and I'm in Australia.  I'll remove those images but would still prefer not to scan images at all.
DIR-1960 HW:A1 FW:1.03

This is one of the options you can use in minidlna.conf

media_dir
             Path to the directory containing the media files the minidlna server should share.
             Use this option several times if you have more than one directory to share. To
             restrict a path to one specific media type, you can use the following syntax: the
             letter A, V or P, followed by a comma (,) followed by the path. The meaning
             of the first letter is as follows:
                      A for audio files;
                      V for video files;
                      P for image files.
             For example, if you want to include only video files located under the
             /opt/media/videos directory, you would use media_dir=V,/opt/media/videos.
Title: Re: Minidlna Configuration
Post by: FurryNutz on June 28, 2020, 09:48:53 PM
Something to contact your regional D-Link support office about:
Link> Tech Support Contact Information (http://forums.dlink.com/index.php?board=635.0)
We find that phone contact has better immediate results over using email.

Good Luck.