Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#7 minidlna ignores media_dir option in config file

closed
nobody
None
5
2009-11-24
2009-09-11
direx
No

I am using the current CVS version of MiniDLNA.
In /etc/minidlna.conf I did set only one media dir:

media_dir=/home/daniel/Musik

Still MiniDLNA tries to look for media in /opt:
dk opt # minidlna -d
[2009/09/11 23:59:53] minidlna.c:667: warn: Starting MiniDLNA version 1.0.15 [SQLite 3.6.14.2].
[2009/09/11 23:59:53] inotify.c:185: debug: Add watch to /opt/flash-libcompat
[2009/09/11 23:59:53] inotify.c:185: debug: Add watch to /opt/netscape
[2009/09/11 23:59:53] inotify.c:185: debug: Add watch to /opt/netscape/plugins
[2009/09/11 23:59:53] inotify.c:185: debug: Add watch to /opt/netscape/plugins32
[2009/09/11 23:59:53] inotify.c:185: debug: Add watch to /opt/skype
[2009/09/11 23:59:53] inotify.c:185: debug: Add watch to /opt/skype/avatars
[2009/09/11 23:59:53] inotify.c:185: debug: Add watch to /opt/skype/lang
[2009/09/11 23:59:53] inotify.c:185: debug: Add watch to /opt/skype/sounds
[2009/09/11 23:59:53] upnphttp.c:667: debug: HTTP REQUEST: GET /rootDesc.xml HTTP/1.1
User-Agent: Panasonic MIL DLNA CP UPnP/1.0 DLNADOC/1.00
Host: 192.168.9.1:8200
X-PANASONIC-DMP-Profile: MPEG_PS_PAL JPEG_SM PV_DIVX_DIV3 PV_DIVX_DIV4 PV_DIVX_DIVX PV_DIVX_DX50 PV_DRM_DIVX_DIV3 PV_DRM_DIVX_DIV4 PV_DRM_DIVX_DIVX PV_DRM_DIVX_DX50

[2009/09/11 23:59:53] upnphttp.c:989: debug: HTTP RESPONSE: HTTP/1.1 200 OK
Content-Type: text/xml; charset="utf-8"
Connection: close
Content-Length: 2210
Server: Linux/2.6.30-gentoo-r4 DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0

Discussion

  • Justin Maggard
    Justin Maggard
    2009-09-11

    With today's code, if you change the media directory you'll have to start minidlna with "minidlna -R", to force a rescan. I plan on adding code to check for a changed media_dir, but it won't do that yet.

     
  • Justin Maggard
    Justin Maggard
    2009-09-11

    • milestone: 891731 -->
     
  • Justin Maggard
    Justin Maggard
    2009-11-24

    • status: open --> closed