Results 1 to 3 of 3

Thread: minidlna multiple media_dirs?

  1. #1
    Join Date
    Jul 2008
    Location
    Netherlands
    Posts
    1,133

    Default minidlna multiple media_dirs?

    Hello,

    I can't seem to get minidlna to serve videos from multiple directories? According to the config file itself (/etc/sysconfig/minidlna) the configuration is as follows:
    Code:
    ## Path:        Network/minidlna
    ## Description: Define media directories to be scanned
    ## Type:        string
    ## Default:     "/mnt"
    ## Config:      minidlna
    # Here you can define your media directories you want scanned
    #
    # Set this to the directories you want scanned.
    #
    # * if you want to restrict a media_dir to specific content types, you
    #   can prepend the types, followed by a comma, to the directory:
    #
    #   + "A" for audio  (eg. A,/home/jmaggard/Music)
    #   + "V" for video  (eg. V,/home/jmaggard/Videos)
    #   + "P" for images (eg. P,/home/jmaggard/Pictures)
    #   + "PV" for pictures and video (eg. AV,/home/jmaggard/digital_camera)
    #
    # * if you want to scan multiple directories, you have to separate
    #   the directories with a vertical bar:
    #
    #   eq. A,/home/jmaggard/Music | V,/home/jmaggard/Videos | P,/home/jmaggard/Pictures
    #
    # Note: the default is /mnt
    I have tried:
    Code:
    media_dir=V,/home/Server/Shared/MoviesII | V,/home/Server/Shared/Downloads | V,/home/Server/Shared/SeriesI | V,/home/Server/Shared/SeriesII
    result: nothing served.
    Code:
    media_dir=V,/home/Server/Shared/MoviesII | /home/Server/Shared/Downloads | /home/Server/Shared/SeriesI | /home/Server/Shared/SeriesII
    result: nothing served.
    Code:
    media_dir=V,/home/Server/Shared/MoviesII 
    media_dir=V,/home/Server/Shared/Downloads
    media_dir=V,/home/Server/Shared/SeriesI
    media_dir=V,/home/Server/Shared/SeriesII
    Result: Only contents from the last folder are served.

    Changing it to simply one media_dir line to any of the locations also works fine. Am I being dense and getting the format wrong or what's going on?
    Special effects <- KDE 4.2 Showing off
    More KDE -> PINK KDE

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    22,040

    Default Re: minidlna multiple media_dirs?

    I assume the first CODE block above is NOT the configuration itself, but a piece of a skeleton configuration that documents how to configure.

    I read that, but I nowhere can find the
    Code:
    media_dir=
    clause you use in your examples. Im I missing something here, or is there missing something in your description?
    Henk van Velden

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    16,713
    Blog Entries
    13

    Default Re: minidlna multiple media_dirs?

    Is "Server" actually a user?
    ° Appreciate my reply? Click the star and let me kow why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •