miniDLNA problem

NAS & samba works good with ntfs USB flash disc, but miniDLNA not - I see mediaserver on client (PC, phone, smart TV), but any files.

USB disc is mounted on /mnt/nas
/dev/sda1       /mnt/nas       2.06 GB / 3.77 GB       45% (1.71 GB)

media directory in miniDLNA setting is /mnt/nas too, but
Service miniDLNA is active, provides 0 audio, 0 video and 0 picture files.
Where can be a mistake?

It is necessary to change start priority for script “nas” which is used for mounting ntfs disc after restart router (described in CZ documentation for Turris1 because the default start priority for miniDLNA is 50 and priority described script is 99 (look LuCI >> System >> Startup), but miniDLNA use disc mounted by "nas"script.
Adapted script:

cat > nas <<EOF
#!/bin/sh /etc/rc.common


start() {
  umount  /dev/sda1
  ntfs-3g /dev/sda1 /mnt/nas

stop() {
  umount /mnt/nas
  hd-idle -t sda

There is a new row before ntfs-3g (umount /dev/sda1) - when I use original script new disc were automatically mounted after restart as different directory - it was impossible to mount it as “/mnt/nas” described on next row.
Now NAS (samba) and miniDLNA works flawlessly with flash disc in USB port or 500GB mSATA disc connected on the main board :slight_smile: - tested on smart TV, streamer CXN, android smart phone (VNC media player) and PC (VNC media player)

I’ am not a LINUX expert (my experiences are only 24 hour long :slight_smile: ), so I would like to see to my editing has also expressed a Linux guru, who would eventually suggested a better functional solution.

Not working for me.

But this worked:
/etc/init.d/minidlna reload

start() {
umount /dev/sda1
ntfs-3g /dev/sda1 /mnt/nas
/etc/init.d/minidlna reload