How to make Library to show files and folders ONLY to remote control points for browsing and playback?

  • I'm running Generic.x86_64-8.90.004 and I've added music and movie files to Library from the attached USB drive.

    I'm using BubbleUpNP to control the playback, so I select "Kodi (LibreELEC)" as my Library and "Kodi (LibreELEC)" as my Renderer. I have other Renderers on my network (Sony Blueray player and Sony Receiver). My media files (music and movies are organised in folders. The problem I have is that I cannot make Kodi broadcast only the folder structure for browsing and playback.

    Note, that BubbleUPNP displays only what Kodi broadcasts across DLNA/UPNP network.


    1) When I open Kodi library in BubbleUPNP, I get 2 menu items - 1) Music Library and 2) Video Library.

    2) When I open Video Library link, I get 3 sub-folders (categories) - Movies, Files and Playlists.

    3) I don't care about Movies and Playlists, I want to see only one option - FILES, which shows me the folders I mapped as sources of media for "Movies" - how do I do that?


    4) When I open Music Library link, I get 13 sub-folders (categories) - Genres, Artists, Albums ... but there's NO option to browse FILES

    5) How do I STOP Kodi from broadcasting all the metadata-based browsing categories and force it to display 1 option only - FILES in Folders?


    Is there and add-on that works as a wrapper to configure that?

  • The problem I have is that I cannot make Kodi broadcast only the folder structure for browsing and playback.


    You are already giving the answer to your own question:


    Note, that BubbleUPNP displays only what Kodi broadcasts across DLNA/UPNP network.


    UPnP/DLNA in Kodi only provides the scraped items (video/music) which are in both libraries. It does not send out the folders and files themselves.


    If you only want the folders and files, use a simple UPnP server like ReadyMedia (formerly MiniDLNA).

  • Thank you!

    I've installed the MiniDLNA and it's up and running. I can also see it in the list of media servers on my BubbleUPNP controller - all good so far.


    However, when I connect to it on http://192.168.1.35:8200/#remote, there's 0 files in the library.


    In other words, MiniDLNA is running in parallel to LE's built-in media server, but media files are all scanned to LE default media server's Library.

    There's no option to choose which media server I want to use.

    How do I tell Kodi to scan media files to MiniDLNA Library instead?

  • Please, I'm a beginner and need some help.

    I've successfully installed MiniDLNA as a legitimate add-on, and it works.

    So how do I scan media files to MiniDLNA Library using LibreELEC menu?


    I'm guessing I'll need to edit 2 or more conf files in order to:

    a) turn off LE's media server and its Library, and

    b) map media folders as sources for MiniDLNA Library

    c) make sure when I select "re-scan" from LE menu it scans media folders to MiniDLNA Library


    Could you please tell me the path(s) to the right files and how to achieve c) ?


    Thank you

  • I've successfully installed MiniDLNA as a legitimate add-on, and it works.

    So how do I scan media files to MiniDLNA Library using LibreELEC menu?

    That sounds like a great chicken-and-egg situation...


    MiniDLNA is to work independently from Kodi as a file server. You could create OS mounts for your media files for MiniDLNA to use.


    Kodi should scan/scrape sources that use SMB, NFS or any other of the file protocols. UPnP/DLNA is not one of them.

  • Hi Klojum, could you please expand on this - "You could create OS mounts for your media files for MiniDLNA to use."

    My media files are on a mounted USB drive named WD3Tb


    My (Library fully working) \\LIBREELEC\Userdata\sources.xml file reads:

    - <music>

    <default pathversion="1" />

    - <source>

    <name>Music</name>

    <path pathversion="1">/media/WD3Tb/MUSIC/</path>

    <allowsharing>true</allowsharing>

    </source>

    </music>


    I'm editing \\LIBREELEC\Userdata\addon_data\service.minidlna\config\minidlna.conf like so:

    media_dir=A,/media/WD3Tb/MUSIC

    inotify=yes

    friendly_name=MiniDLNA


    when I look in service.log

    [2018/09/18 00:14:19] /storage/jenkins/workspace/Addons/All_Add-ons/build.LibreELEC-Generic.x86_64-9.0-devel/minidlna-138d03d/minidlna.c:668: error: Media directory "A,/media/WD3Tb/MUSIC" not accessible [No such file or directory]


    What am I doing wrong in the minidlna conf file?

    Edited once, last by bpr323 ().

  • Create local filesystem mounts for the remote SMB/NFS shares; then both Kodi and MiniDLNA are using the same sources (independently.. no interaction between the apps). Look at the systemd .mount examples in /storage/.config/systemd