Page 4 of 22

Re: MiniDLNA 1.0.18.2_CVS-1.1 (22-Nov-2010)

PostPosted: Thu Jan 06, 2011 2:13 am
by hoopbull
Hello,

Im running 0.4.5.1 and minidlna 1.0.18.2-1.1. I can see that its running in the Plugin Daemons on the main webend page, but I cannot configure the directories using webend. Any help would be greatly appreciated.

Re: MiniDLNA 1.0.18.2_CVS-1.1 (22-Nov-2010)

PostPosted: Thu Jan 06, 2011 3:17 am
by hoopbull
Please excuse my newbness....

Like the post above indicates, I am not able to configure the media directories through the webend (running 0.4.5.1 and minidlna 1.0.18.2-1.1), there is just no option under the apps section. So I attempted to do it manually. Here is what i did.

I ftped into /tmp/ and downloaded minidlna.conf. I used notepad ++ to edit the document and added:

media_dir=A,/tmp/media/usb/USB2/0C98B53898B520DE/My Music (I removed the #)

Then I uploaded it back to /tmp and also made sure to copy the file to /conf/minidlna.conf

I restarted miniDLNA using the webend, waited 15 minutes, and I still cant seem to see any media using WMP 12.

Here is the Log from minidlna:
Code: Select all
[1999/12/31 16:02:27] minidlna.c:770: warn: Starting MiniDLNA version 1.0.18.2 [SQLite 3.5.9].
[1999/12/31 16:02:27] minidlna.c:793: warn: Creating new database...
[1999/12/31 16:02:28] minidlna.c:858: warn: HTTP listening on port 8200
[1999/12/31 16:03:32] minidlna.c:153: warn: received signal 15, good-bye
[1999/12/31 16:01:17] minidlna.c:770: warn: Starting MiniDLNA version 1.0.18.2 [SQLite 3.5.9].
[1999/12/31 16:01:17] minidlna.c:858: warn: HTTP listening on port 8200
[1999/12/31 16:14:26] upnphttp.c:872: warn: / not found, responding ERROR 404
[1999/12/31 16:14:26] upnphttp.c:872: warn: /favicon.ico not found, responding ERROR 404
[1999/12/31 16:40:59] minidlna.c:153: warn: received signal 15, good-bye
[1999/12/31 16:41:13] minidlna.c:770: warn: Starting MiniDLNA version 1.0.18.2 [SQLite 3.5.9].
[1999/12/31 16:41:13] minidlna.c:858: warn: HTTP listening on port 8200
[1999/12/31 16:55:23] minidlna.c:153: warn: received signal 15, good-bye
[1999/12/31 16:55:45] minidlna.c:770: warn: Starting MiniDLNA version 1.0.18.2 [SQLite 3.5.9].
[1999/12/31 16:55:45] minidlna.c:858: warn: HTTP listening on port 8200
[1999/12/31 17:02:02] minidlna.c:153: warn: received signal 15, good-bye
[1999/12/31 16:01:18] minidlna.c:770: warn: Starting MiniDLNA version 1.0.18.2 [SQLite 3.5.9].
[1999/12/31 16:01:18] minidlna.c:858: warn: HTTP listening on port 8200


Any suggestions?

Re: MiniDLNA 1.0.18.2_CVS-1.1 (22-Nov-2010)

PostPosted: Thu Jan 06, 2011 6:58 am
by RMerlin
z80pio wrote:I tried on 4 different apps on iPhone (i use windows xp on my desktop). All the apps show wdtv but just the folders were empty.

1) can you please verify the following entries were syntactically correct? [i verified the paths]
V,/tmp/media/usb/USB1/829478C39478BAED/Video
A,/tmp/media/usb/USB1/829478C39478BAED/Audio
P,/tmp/media/usb/USB1/829478C39478BAED/Photos

2) Is there a way to find out whether minidlna is indexing these files? [other than opening the sqlite db]


Path should be good, but just to be safe try specifying just the path without the media type, and specify just one path for testing purposes, i.e.:

Code: Select all
/tmp/media/usb/USB1/829478C39478BAED/Audio/


Also put a trailing slash at the end of the path (not sure if it's required).

To see if your medias are indexing, check the content of minidlna.log. You can also tell by the size of your MiniDLNA database, it should visibly increase as indexed media start filling it in.

Re: MiniDLNA 1.0.18.2_CVS-1.1 (22-Nov-2010)

PostPosted: Thu Jan 06, 2011 7:04 am
by RMerlin
hoopbull wrote:I ftped into /tmp/ and downloaded minidlna.conf. I used notepad ++ to edit the document and added:

media_dir=A,/tmp/media/usb/USB2/0C98B53898B520DE/My Music (I removed the #)

Then I uploaded it back to /tmp and also made sure to copy the file to /conf/minidlna.conf

I restarted miniDLNA using the webend, waited 15 minutes, and I still cant seem to see any media using WMP 12.



Try specifying a straight path, without defining the media type. Also, try using " " around it, in case the space in your path is causing issues.

The config file should only be copied to /conf. Reboot after doing so. The /tmp/ reference is a symlink.

I can't think of any reason why the config option wouldn't show on the WEC page.

Re: MiniDLNA 1.0.18.2_CVS-1.1 (22-Nov-2010)

PostPosted: Thu Jan 06, 2011 8:13 am
by z80pio
RMerlin,
I tried adding a trailing / too, but no help.

Minidlna.log doesn't contain any abnormal statements. Also, the db file is 78k and I tried to view inside, it doesn't have any filenames. Is there a way to troubleshoot this issue out?

minidlna.log
Code: Select all
# cat minidlna.log
[2011/01/06 08:03:04] minidlna.c:770: warn: Starting MiniDLNA version 1.0.18.2 [
SQLite 3.5.9].
[2011/01/06 08:03:04] minidlna.c:793: warn: Creating new database...
[2011/01/06 08:03:06] minidlna.c:858: warn: HTTP listening on port 8200

Re: MiniDLNA 1.0.18.2_CVS-1.1 (22-Nov-2010)

PostPosted: Thu Jan 06, 2011 8:33 am
by z80pio
Please disregard my prev postings. I didn't copy the conf file to /conf, hence my config didn't survive the reboot. It is scanning now...

Re: MiniDLNA 1.0.18.2_CVS-1.1 (22-Nov-2010)

PostPosted: Thu Jan 06, 2011 9:26 am
by z80pio
Question: How does minidlna update its index? if it reindexes during everytime it boots, then it is going to take up time (it takes more than an hour currently). I am aware i can disable indexing on everyboot, but the question is, when a file gets copied into the folder it monitors, will it get indexed indexed?

THanks

Re: MiniDLNA 1.0.18.2_CVS-1.1 (22-Nov-2010)

PostPosted: Thu Jan 06, 2011 10:12 am
by hoopbull
I figured out my issue. If it helps others, I simply forgot to add "/" at the end of my directory.

Has anyone successfully used plugplayer to push minidlna files to the WDTV through the iphone? I cant get plugplayer to see the minidlna server.

Re: MiniDLNA 1.0.18.2_CVS-1.1 (22-Nov-2010)

PostPosted: Thu Jan 06, 2011 10:32 am
by RMerlin
z80pio wrote:Question: How does minidlna update its index? if it reindexes during everytime it boots, then it is going to take up time (it takes more than an hour currently). I am aware i can disable indexing on everyboot, but the question is, when a file gets copied into the folder it monitors, will it get indexed indexed?

THanks


If it's on a local filesystem (USB), then the Linux kernel will signal MiniDLNA whenever there is a chance inside a scanned folder (provided you enabled the inotify option of MiniDLNA).

If it's on a network share however there's nothing MiniDLNA can do, short of rebuilding the whole index on the next restart (make sure you do enable that option). This is a limitation of MiniDLNA which cannot do scheduled update scans, only full index rebuilds. The feature has been requested to its developer, it will be up to him to decide if he wants to implement it.

Re: MiniDLNA 1.0.18.2_CVS-1.1 (22-Nov-2010)

PostPosted: Thu Jan 06, 2011 10:34 am
by RMerlin
hoopbull wrote:I figured out my issue. If it helps others, I simply forgot to add "/" at the end of my directory.

Has anyone successfully used plugplayer to push minidlna files to the WDTV through the iphone? I cant get plugplayer to see the minidlna server.


Try killing Plugplayer and restarting it (double-tap your Home button). Sometimes, DLNA clients fail to refresh their device list if they are already running in background.

Also make sure your iPhone is connected over your Wifi, and not over the 3G network.