dlna: does not index music

  • Coming from OMV 0.5 I updated to 1.0 by doing a fresh install.
    However, now I am experiencing problems with miniDLNA.
    Video files and pictures can be accessed, but my music files cannot.
    It seems they are not indexed at all, though file permissions are identical to the video files and pictures (though in different shared folders).
    From the log I could see that miniDLNA complained about some very old JPG images which it couldn't read information from.
    Then I removed the video and picture shares from the DLNA configuration to concentrate on the two music shares.
    I set DLNA log level to 'Debug' and hit 'Rescan'.
    Strangely, this is all that goes into the log file:


    [2014/12/01 22:29:56] minidlna.c:153: warn: received signal 15, good-bye
    [2014/12/01 22:29:57] minidlna.c:1004: warn: Starting MiniDLNA version 1.1.2.
    [2014/12/01 22:29:57] minidlna.c:354: warn: Creating new database at /var/cache/minidlna/files.db
    [2014/12/01 22:29:57] minidlna.c:1043: warn: HTTP listening on port 8200
    [2014/12/01 22:29:57] playlist.c:125: warn: Parsing playlists...
    [2014/12/01 22:29:57] playlist.c:256: warn: Finished parsing playlists.


    Are there many debug output lines missing or why is the logfile only showing that playlists are being parsed?
    I don't use playlists and with OMV 0.5 it was no problem, all files were indexed as expected.


    Does anyone have a hint on how to debug this further?


    Thanks,
    daflow

  • Problem solved: after starting minidlna in debug mode on the console I could see the error message that the path of my share could not be found.


    This raises 2 questions/enhancement suggestions:


    1. why is the minidlna error message not visible in the logfile in the web UI, even in debug mode?


    2. I entered the share's path by hand and made a mistake, but shouldn't OMV warn the user that the share's path does not exist?


    Best regards

    • Offizieller Beitrag

    1. Haven't figured this out. minidlna seems to ignore the log level setting in the config file.


    2. If you are using the web interface to add a share, how can it not exist? The folder/path is created when creating a shared folder. If you are doing things manually, it is hard for the plugin to know that.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4 | scripts 7.0.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I could reproduce the behavior:
    - add a shared folder
    - enter a name
    - select a volume
    - enter an absolute path, e.g. /media/30cc64ff-f715-430f-8809-36826c215a3c/data/home/jim/NEW_FOLDER
    - press save


    -> The folder is not created and no error message is shown.


    I realise this was an usage error, but a notification would be nice.

    • Offizieller Beitrag

    You can't enter an absolute path for the shared folder. What you are creating is this:


    /media/30cc64ff-f715-430f-8809-36826c215a3c/media/30cc64ff-f715-430f-8809-36826c215a3c/data/home/jim/NEW_FOLDER

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4 | scripts 7.0.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!