DLNA issues

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
lollapalooza
Posts: 122
Joined: Mon Jun 09, 2014 12:53 pm

DLNA issues

Post 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.

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: DLNA issues

Post by Lantis »

There’s a log file stored on your USB stick in ~/.minidlna/
It may reveal a clue.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

lollapalooza
Posts: 122
Joined: Mon Jun 09, 2014 12:53 pm

Re: DLNA issues

Post 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

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: DLNA issues

Post 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
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

lollapalooza
Posts: 122
Joined: Mon Jun 09, 2014 12:53 pm

Re: DLNA issues

Post 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 :-)

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: DLNA issues

Post 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?
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

lollapalooza
Posts: 122
Joined: Mon Jun 09, 2014 12:53 pm

Re: DLNA issues

Post 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.

Post Reply