Beiträge von Fuli

    Hello there,
    This is my first post on this forum and I'm not sure I'm on the right thread, but I only want to propose a small improvement in OMV miniDLNA plugin.
    Why this code ?
    Because I'm using my own made version of minidlna with my own parameters, I really dislike the way how configuration file is updated from OMV: it is a really simple minidlna.conf that is generated each time a modification is done.
    So, attached code is performing only parameters replacement following OMV parameters instead of generating a new configuration file.
    By this way, if your are using your own setting (for cover name for example, etc), they are not removed if you're adding your shared path from OMV interface.
    The only missing thing is to clean initial minidlna.conf file from example/default shared path.


    Works with openmediavault-minidlna package version 1.1


    File path is /usr/share/openmediavault/mkconf
    File name minidlna (without .txt extension)