MiniDlna won't scan

8 posts / 0 new
Last post
johnny
johnny's picture
MiniDlna won't scan

I got minidlna to show my files from my usb ext3 hdd but it won't scan and refresh new files and changes to my directory. I'm running the latest kong mod just released.

What could be the problem?

Thnx

Kong
Kong's picture
Did you change the path where

Did you change the path where minidlna writes its db?
Login to the router via ssh or telnet and then do an:

ls -la /path/todb/*

by default it would be:

ls -la /tmp/minidlna/*

How long did you wait after copying the files? By default minidlna checks every 120s if there are new files in the specified dirs.

johnny
johnny's picture
Do you mean ssh in the

Do you mean ssh in the commands tab in dd-wrt control panel... coz I typed:

ls -la /path/todb/*

and now minidlna won't show my files. Sorry I'm I total noob on this.

Kong
Kong's picture
ls -la means list all files

ls -la means list all files dir in the given path.

If you set a special path for the db in the web interface, then you need to use this one for the ls command. If you have left the db path entry on the minidlna page blank, then you call:

ls -la /tmp/minidlna

johnny
johnny's picture
I see... yea I do have the db

I see... yea I do have the db path blank.. I ran: ls -la /tmp/minidlna and got this

drwxr-x--T 2 root root 0 Oct 11 20:19 .
drwxrwxrwx 10 root root 0 Oct 11 21:56 ..
-rw-r----- 1 root root 114688 Oct 11 20:25 files.db

and I got my files to show again but it still doesn't scan my directory for new files.
Would it be easier if I put a path on the db path instead? Could you give an example how I should do this. I have my files in public folder-videos folder.

Kong
Kong's picture
The db looks pretty small, I

The db looks pretty small, I assume you don't have many media files on the external media?

How long did you wait after you copied the files to the folder?

If you reboot the router can you see the files after reboot?

Have you tested with pictures,mp3 or video?

johnny
johnny's picture
Yea I don't have much media

Yea I don't have much media files yet... I'm trying to fix this before I transfer all of my files to this external drive.

It's the same with pics, mp3's and video files.. I rebooted from dd-wrt control panel and now It won't show any files only empty folders.

I have to run:

killall minidlna
minidlna -R -f /tmp/minidlna.conf

In order for it to show and update new files.
Oh and I wait over the 120s to see if it shows but nope it doesn't.

Kong
Kong's picture
Ok, since I haven't tested

Ok, since I haven't tested minidlna after I updated to the latest minidlna revision I'll test this with an ext3 drive. Maybe some got fixed and some broken:-)