Page 1 of 1
DLNA issues
Posted: Tue Nov 21, 2017 3:31 am
by lollapalooza
Good morning to all,
What I need is to share a folder with video on an external USB HDD.
Files have to be played with the Fire TV Stick by Amazon (I'd like to use Kodi).
I tried to enable DLNA and to share the HDD.
DLNA server starts scanning the media, and he finds all the files (it's less than 150).
When I try to add the source to Kodi, I can successfully list all the files.
Unfortunately it seems that after a while (let's say 10/15 minutes), the DLNA server stops working and when I connect with Kodi, it says it can't connect to server.
If I try to check DLNA status on Gargoyle, the web page shows all the info, like when the server is up.
Any suggestion?
One more question: is there a way to mount (as a default) the USB HDD as read-only (in order to avoid un-mounting before unplugging)?
P.S.
I'm using latest 1.10 release.
But also with 1.8.1 DLNA behaved in the same way.
Thanks a lot.
Re: DLNA issues
Posted: Tue Nov 21, 2017 3:43 am
by Lantis
There’s a log file stored on your USB stick in ~/.minidlna/
It may reveal a clue.
Re: DLNA issues
Posted: Tue Nov 21, 2017 2:28 pm
by lollapalooza
Thanks for the suggestion... here's the log.
It actually did not reveal much.
There are a few AVI files not being correctly recognized, and I've removed the relative lines, otherwise it would have been too long.
Code: Select all
[2017/11/20 23:18:26] minidlna.c:1048: warn: Starting MiniDLNA version 1.2.1.
[2017/11/20 23:18:26] minidlna.c:346: warn: Creating new database at /tmp/usb_mount/0ce23c22-01/Movies/.minidlna/files.db
[2017/11/20 23:18:26] minidlna.c:1089: warn: HTTP listening on port 8200
[2017/11/20 23:18:26] scanner.c:731: warn: Scanning /tmp/usb_mount/0ce23c22-01/Movies
[2017/11/20 23:18:28] upnphttp.c:1021: warn: /favicon.ico not found, responding ERROR 404
...
[2017/11/20 23:28:54] scanner.c:831: warn: Scanning /tmp/usb_mount/0ce23c22-01/Movies finished (116 files)!
[2017/11/20 23:28:54] playlist.c:135: warn: Parsing playlists...
[2017/11/20 23:28:55] playlist.c:269: warn: Finished parsing playlists.
[2017/11/20 23:39:22] minidlna.c:155: warn: received signal 15, good-bye
[2017/11/20 23:39:26] minidlna.c:961: error: MiniDLNA is already running. EXITING.
[2017/11/20 23:41:24] minidlna.c:1048: warn: Starting MiniDLNA version 1.2.1.
[2017/11/20 23:41:25] minidlna.c:1089: warn: HTTP listening on port 8200
[2017/11/20 23:53:25] minidlna.c:155: warn: received signal 15, good-bye
Re: DLNA issues
Posted: Tue Nov 21, 2017 3:58 pm
by Lantis
The log confirms your story. After a period of time it restarts for some reason.
Is it a powered or unpowered USB drive? Drive could be dropping out.
Are you able to snag a system log when it drops out as well please?
I’ve never seen this behaviour before it worked seamlessly for me 2 years straight
Re: DLNA issues
Posted: Tue Nov 21, 2017 4:13 pm
by lollapalooza
Samsung M3 portable, USB 3, 2.5” HDD.
Power is taken from USB port.
Router is Netgear WNDR3700v2.
I’ll be happy to provide all the logs you need, just tell me which are the files
Thank you

Re: DLNA issues
Posted: Tue Nov 21, 2017 6:40 pm
by Lantis
When you notice it drop out, issue a “logread” and “dmesg” at thecommand line and it might provide some hints.
I suspect power drop out to drive.
Do you have a powered USB hub you could insert between the two devices? Or a powered drive to test?
Re: DLNA issues
Posted: Wed Nov 22, 2017 3:05 pm
by lollapalooza
Ok... the problem seemed to be with Kodi on FireTV Stick... because when try with VLC on Windows, it works.
Anyway it seems that DLNA takes too much resources from the router, so I have to use a different method to share the folder.
I'll open a new thread
Thanks a lot.