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

MiniDLNA disappears from devices

ikkii
2012-10-17
2013-05-29
  • ikkii
    ikkii
    2012-10-17

    Hi,

    I have a router tplink 1043nd with openwrt  and after 30 minutes, minidlna disappears from devices; bluray (Philips bdp6000/12) and mobile phone (motorola defy).

    Firewall open ports:

    TCP/UDP 8200
    TCP/UDP 1900

    minidlna.conf:

    # port for HTTP (descriptions, SOAP, media transfer) traffic
    port=8200

    # network interface to bind to (this is the only interface that will serve files)
    network_interface=wlan0

    # set this to the directory you want scanned.
    # * if have multiple directories, you can have multiple media_dir= lines
    # * if you want to restrict a media_dir to a specific content type, you
    #   can prepend the type, followed by a comma, to the directory:
    #   + "A" for audio  (eg. media_dir=A,/home/jmaggard/Music)
    #   + "V" for video  (eg. media_dir=V,/home/jmaggard/Videos)
    #   + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures)
    media_dir=A,/root/DLNA/Music
    media_dir=V,/root/DLNA/Videos
    #media_dir=P,/root/DLNA/Pictures

    # set this if you want to customize the name that shows up on your clients
    friendly_name=OWI

    # set this if you would like to specify the directory where you want MiniDLNA to store its database and album art cache
    db_dir=/root/DLNA/database

    # set this if you would like to specify the directory where you want MiniDLNA to store its log file
    log_dir=/root/DLNA

    # this should be a list of file names to check for when searching for album art
    # note: names should be delimited with a forward slash ("/")
    album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg

    # set this to no to disable inotify monitoring to automatically discover new files
    # note: the default is yes
    inotify=no

    # set this to yes to enable support for streaming .jpg and .mp3 files to a TiVo supporting HMO
    enable_tivo=no

    # set this to strictly adhere to DLNA standards.
    # * This will allow server-side downscaling of very large JPEG images,
    #   which may hurt JPEG serving performance on (at least) Sony DLNA products.
    strict_dlna=no

    # default presentation url is http address on port 80
    #presentation_url=http://192.168.2.1:8200/

    # notify interval in seconds. default is 895 seconds.
    notify_interval=895

    # serial and model number the daemon will report to clients
    # in its XML description
    serial=12345678
    model_number=1

    #------------------------------------#
    # specify the path to the MiniSSDPd socket
    #------------------------------------#
    #minissdpdsocket=/var/run/minissdpd.sock

    I tried to install minissdpd and configure the socket minissdpd in minidlna, without success.
    I tried to increase and decrease the seconds variable notify_interval, without success.
    I compiled and installed the latest version 1.0.25, but the problem persists.

    This is the log from the last execution:

    minidlna.c:885: warn: Starting MiniDLNA version 1.0.25 .
    minidlna.c:991: warn: HTTP listening on port 8200
    minidlna.c:885: warn: Starting MiniDLNA version 1.0.25 .
    minidlna.c:991: warn: HTTP listening on port 8200
    minidlna.c:154: warn: received signal 15, good-bye
    minissdp.c:775: error: sendto(udp_shutdown=7): Invalid argument
    minissdp.c:775: error: sendto(udp_shutdown=7): Invalid argument
    minidlna.c:1255: error: Failed to broadcast good-bye notifications
    minidlna.c:885: warn: Starting MiniDLNA version 1.0.25 .
    minidlna.c:991: warn: HTTP listening on port 8200
    minidlna.c:154: warn: received signal 15, good-bye
    minidlna.c:885: warn: Starting MiniDLNA version 1.0.25 .
    minidlna.c:991: warn: HTTP listening on port 8200
    minidlna.c:154: warn: received signal 15, good-bye
    minidlna.c:885: warn: Starting MiniDLNA version 1.0.25 .
    minidlna.c:991: warn: HTTP listening on port 8200
    upnpsoap.c:1739: warn: Returning UPnPError 402: Invalid Args
    upnpsoap.c:1739: warn: Returning UPnPError 402: Invalid Args
    upnpsoap.c:1739: warn: Returning UPnPError 402: Invalid Args

    I have to constantly restart for devices to detect it.

    ¿Someone please help me?

    Thanks.