Updating content of disk shared under network storage for DLNA sharing

I am using the GL-MT6000 with OpenWrt 21.02-SNAPSHOT r15812+1085-46b6ee7ffc, kernel 5.4.238, firmware 4.7.7 release1.

I can share a disk through the network storage functionality ( Network Storage - GL.iNet Router Docs 4 ) and I can access it just fine through sftp at sftp://root@192.168.x.y/tmp/mountd/disk1_part1/

However, when connecting to the "GL-mt6000 DLNA Server" through VLC for example, only some of the folders are shown. If I "force" a rescan by changing the path shared, by sharing only a sub-folder for example, /disk1_part1/test/

then all of the test folder is correctly shown, and I can even revert to sharing only /disk1_part1/ and I will see all the folders.

However, if I restart the router, then I can see again only some of the files / folder. Is there a simpler way to force a re-scan, or am I missing something?

I used an A1300 router, V4.7.2, for testing and there was no problem. Does the problem have to be reproduced with an MT6000 device? Have you tried anything else?


I only have a MT-6000, and the problem is that it sometimes correctly index all the files & folders, sometimes not. It may be a faulty drive, but what I am looking for right now is if there is a command to force a re-scan of the drive.

Related: Incomplete directory returned from DLNA server - #17 by tsantilis where it was recommended to check for non-standard folder / file names, and where the issue vanished after a reboot if I read correctly.

There is no command to rescan the drive. Normally, everything will be visible after it is mounted.

I understand, but it does not show everything unless I play that "select a sub-folder from the interface" game :-/

Maybe using minidlnad -R or some other command from minidlnad could work? I have the following version installed:

Package: minidlna
Version: 1.3.0-1
Depends: libc, libpthread, libexif, libjpeg, libsqlite3-0, libffmpeg, libid3tag, libflac, libvorbis
Status: install user installed
Section: multimedia
Architecture: aarch64_cortex-a53
Size: 133801
Filename: minidlna_1.3.0-1_aarch64_cortex-a53.ipk
Conffiles:
 /etc/config/minidlna 5945ac3ce12ff81417a6ed1dfdecbda807feafe510a775844066e6da220c71c9
Description: MiniDLNA (aka ReadyDLNA) is server software with the aim of being fully compliant with DLNA/UPnP-AV clients.
Installed-Time: 1744682027

I do have option inotify '1' in the config file, so I agree it should work…

I'm having this exact issue. I have unmounted the drive, reattached. Unmounted and restarted. I just restarted (a few times) but I can not see all my files, in fact only 3 out of probably best part of 1k.
Did you find a resolution?

Please try checking your non-standard file names and restarting again.

I tested again using MT6000 version 4.7.7, and was able to view all file contents on the mount point.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.