Menu

Minidlna 1.1.4

Help
PaceyIV
2015-07-06
2015-07-08
  • PaceyIV

    PaceyIV - 2015-07-06

    I can't access to the web statistics with this new version.

    In the browser I've entered the url http://192.168.1.1:8200 but I've got a page that redirect me to https://192.168.1.1/admin.
    On the 443 port (HTTPS) there is my apache so minidlna can't bind this port. I also try to force the url to https://192.168.1.1/admin but I've got a timeout error. If I close apache, I've got the connection refused error.

    Here my config and after that the log

    # This is the configuration file for the MiniDLNA daemon, a DLNA/UPnP-AV media
    # server.
    #
    # Unless otherwise noted, the commented out options show their default value.
    #
    # On Debian, you can also refer to the minidlna.conf(5) man page for
    # documentation about this file.
    
    # Specify the user name or uid to run as.
    #user=minidlna
    
    # Path to the directory you want scanned for media files.
    #
    # This option can be specified more than once if you want multiple directories
    # scanned.
    #
    # If you want to restrict a media_dir to a specific content type, you can
    # prepend the directory name with a letter representing the type (A, P or V),
    # followed by a comma, as so:
    #   * "A" for audio    (eg. media_dir=A,/var/lib/minidlna/music)
    #   * "P" for pictures (eg. media_dir=P,/var/lib/minidlna/pictures)
    #   * "V" for video    (eg. media_dir=V,/var/lib/minidlna/videos)
    #   * "PV" for pictures and video (eg. media_dir=PV,/var/lib/minidlna/digital_camera)
    media_dir=V,/media/data/telefilms
    media_dir=V,/media/data/films
    media_dir=A,/media/data/mp3
    
    # Set this to merge all media_dir base contents into the root container
    # (The default is no.)
    #merge_media_dirs=no
    
    # Path to the directory that should hold the database and album art cache.
    #db_dir=/var/cache/minidlna
    
    # Path to the directory that should hold the log file.
    #log_dir=/var/log
    
    # Type and minimum level of importance of messages to be logged.
    #
    # The types are "artwork", "database", "general", "http", "inotify",
    # "metadata", "scanner", "ssdp" and "tivo".
    #
    # The levels are "off", "fatal", "error", "warn", "info" or "debug".
    # "off" turns of logging entirely, "fatal" is the highest level of importance
    # and "debug" the lowest.
    #
    # The types are comma-separated, followed by an equal sign ("="), followed by a
    # level that applies to the preceding types. This can be repeated, separating
    # each of these constructs with a comma.
    #
    # The default is to log all types of messages at the "warn" level.
    #log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn
    
    # Use a different container as the root of the directory tree presented to
    # clients. The possible values are:
    #   * "." - standard container
    #   * "B" - "Browse Directory"
    #   * "M" - "Music"
    #   * "P" - "Pictures"
    #   * "V" - "Video"
    #   * Or, you can specify the ObjectID of your desired root container
    #     (eg. 1$F for Music/Playlists)
    # If you specify "B" and the client device is audio-only then "Music/Folders"
    # will be used as root.
    #root_container=.
    
    # Network interface(s) to bind to (e.g. eth0), comma delimited.
    # This option can be specified more than once.
    network_interface=eth0
    
    # Port number for HTTP traffic (descriptions, SOAP, media transfer).
    # This option is mandatory (or it must be specified on the command-line using
    # "-p").
    port=8200
    
    # URL presented to clients (e.g. http://example.com:80).
    #presentation_url=/
    
    # Name that the DLNA server presents to clients.
    # Defaults to "hostname: username".
    friendly_name=MiniDLNA
    
    # Serial number the server reports to clients.
    # Defaults to 00000000.
    serial=681019810597110
    
    # Model name the server reports to clients.
    #model_name=Windows Media Connect compatible (MiniDLNA)
    
    # Model number the server reports to clients.
    # Defaults to the version number of minidlna.
    #model_number=
    
    # Automatic discovery of new files in the media_dir directory.
    inotify=yes
    
    # List of file names to look for when searching for album art.
    # Names should be delimited with a forward slash ("/").
    # This option can be specified more than once.
    album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg
    album_art_names=AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg
    album_art_names=Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg
    
    # Strictly adhere to DLNA standards.
    # This allows server-side downscaling of very large JPEG images, which may
    # decrease JPEG serving performance on (at least) Sony DLNA products.
    #strict_dlna=no
    
    # Support for streaming .jpg and .mp3 files to a TiVo supporting HMO.
    #enable_tivo=no
    
    # Notify interval, in seconds.
    notify_interval=895
    
    # Path to the MiniSSDPd socket, for MiniSSDPd support.
    #minissdpdsocket=/run/minissdpd.sock
    
    # Always set SortCriteria to this value, regardless of the SortCriteria
    # passed by the client
    # e.g. force_sort_criteria=+upnp:class,+upnp:originalTrackNumber,+dc:title
    #force_sort_criteria=
    
    # maximum number of simultaneous connections
    # note: many clients open several simultaneous connections while streaming
    #max_connections=50
    

    ===========================================================================

    [2015/07/06 22:07:53] upnphttp.c:880: debug: HTTP REQUEST: GET / HTTP/1.1
    Host: 192.168.1.1:8200
    Connection: keep-alive
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
    User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
    Accept-Encoding: gzip, deflate, sdch
    Accept-Language: it-IT,it;q=0.8,en-US;q=0.6,en;q=0.4
    
    [2015/07/06 22:07:53] upnphttp.c:1216: debug: HTTP RESPONSE: HTTP/1.1 200 OK
    Content-Type: text/html
    Connection: close
    Content-Length: 71
    Server: 3.9.11-x5 DLNADOC/1.50 UPnP/1.0 ReadyDLNA/1.1.4
    Content-Language: en
    Date: Mon, 06 Jul 2015 20:07:53 GMT
    EXT:
    
    <meta http-equiv="refresh" content="0; url=https://192.168.1.1/admin/">
    
     
  • Shrimpkin

    Shrimpkin - 2015-07-07

    The debug http response indicates minidlna was built with readynas support. Build without readynas support.

     
  • PaceyIV

    PaceyIV - 2015-07-07

    I didn't compile it by myself.
    I use the debian package from www.deb-multimedia.org.

    What are the differences with the readynas support enabled?
    I found that I can access the statistics with this link http://192.168.1.1:8200/status

     
  • Shrimpkin

    Shrimpkin - 2015-07-08

    Check with your distro for more info on how minidlna is being built and if any patches are being applied.

    You found one difference with readynas enabled. Check the source code for other differences. After all, it's open source. Look for '#ifdef READYNAS'.

     

Log in to post a comment.