LE as DLNA/UPNP Renderer Player only (no media server)

  • My previous HT setup was:

    [NAS + Media Server] = Intel NUC running Lubuntu + Samba + UMS with a bunch of USB disks for storage

    [Renderer] = Sony BD player (over LAN)

    [Controller] = BubbleUpNP running on Android devices (Tablet and mobile phone)

    With this setup I can select any DLNA Renderer on my network (e.g. Sony BD) and point it to any Media Server on the network (e.g. UMS on NAS) in any combination of MDR/MDS.

    However, I wasn't happy with cinavia, general slowness and occasional compatibility issues on the Sony BD.

    I've installed and configured latest build of LE on a NUC pointing it to external media library which resides on NAS, across DLNA (LAN).

    Due to inherent philosophy of KODI as a "one-box" HTPC the setup kept bugging me about defining my Music, Pictures, Video, etc. libraries until I deleted all categories but undeletable ones.

    LE produces excellent 1080p video and allows bitstreaming of HD audio across HDMI to the AVR -> TV.

    Unfortunately, it's unreliable as DLNA renderer - sometimes refusing to show up in the list of Renderers on my BubbleUPNP controller, and I don't know what's causing it disappearance and reappearance.

    Bottom line - is there a way to produce a "Headless DLNA Renderer - Client Only" (non-HTPC) version of LE which doesn't presume that it has its own media server running side by side, but focuses on UPnP playback and reliably shows itself up on LAN as a DLNA client?

    Edited once, last by bpr323 (May 14, 2018 at 12:02 AM).

    • Official Post

    DLNA/UPnP stuff in Kodi is only pushed via the Video and/or Music Library, afaik.

    If you want no library but simply files only, use something like MiniDLNA. That tool supports video, music, and pictures.

    We tested a MiniDLNA addon for a Kodi Leia LibreELEC build, and it seemed to do the job. I don't know if it's been entered into the repository already.

  • DLNA/UPnP stuff in Kodi is only pushed via the Video and/or Music Library, afaik.

    If you want no library but simply files only, use something like MiniDLNA. That tool supports video, music, and pictures.

    We tested a MiniDLNA addon for a Kodi Leia LibreELEC build, and it seemed to do the job. I don't know if it's been entered into the repository already.

    Thank you!

    You're right, after deleting all removable default library categories from the menu, I mapped the undeletable "Videos" category on LE to the "source" being my Media Server (i.e. MDS) on Synology NAS (which already runs a media server plugin) across DLNA - as opposed to Samba or local file system. I also enabled "control LE from external devices" in the menu - to make LE box visible on LAN as a DLNA device.

    This finally worked, but the way KODI announces itself on the network as a DLNA Media Renderer (i.e. MDR) is kind of flakey. Sometimes KODI flips out and I can't see it in the selectable DLNA devices menu on my BubbleUPnP controller, - as opposed to my Sony BD, Synology NAS or my laptop which are always there, 24x7. Why is that??

    I don't want to store files on my LE box, nor manage the media library from within LE UI on TV screen. The whole idea is to decouple the MDR from the MDS in KODI LE as two separate, optional modules and let users install just the MDR module, so that the net effect is a DIY non-proprietary network "dlna" media player. An analogy would be, using a pre- and power amplifiers, as opposed to integrated amp.

    The idea is to use the touch screen on my mobile phone (or tablet) with BubbleUPnP as media library browser and playback controller - without the need to find the remote and turn on the TV and navigate the LE UI with k/b or mouse (I don't have a NUC remote) - to play music or videos.

    All my "media library" needs are already fulfilled by Synology RT2600, which runs a DLNA media server and a torrent client, saving files locally to attached USB disk, without pushing files out to my laptop across WiFi. I can navigate and play back any files in my media library using my phone with BubbleUPnP. When I listen to music, I don't even need to turn on my plasma TV (which has already suffered from burn-in.) to see LE's UI on my TV screen. I just pick up my phone, open BubbleUPnP, select the preferred Renderer, select the preferred Library, go to Library, browse to the video or music file, and press Play. I can also select next/previous, pause, stop and adjust the volume. BubbleUPnP shows me the artwork embedded in my music files (FLAC, Mp3) - both as thumbnails in Library view and Playing Now. For video, it allows to resume or restart after stop. Disclaimer - I don't work for BubbleUPnP, I just like it - it does exactly what I want, without bloating with unused functions.

    Personally, the concept of an AIO HTPC (+ keyboard/mouse/BT/IR remote) - is dated. I don't want my router to have HDMI for playback, nor do I want my "HDMI player" to store and manage files in the media library. I want to ditch all clunky IR remotes and operate my whole home theatre from 1 device - my mobile phone, lying on the couch :)

    Has anyone tried forking out / modding LE to make it a simple DLNA Renderer version, along the lines I've described above?

    This should be relatively easy to modify the installation script and make it a 2-step process:

    1) Install LE Client (MDR)

    2) Install LE Server (MDS) - if you need it

    Edited 6 times, last by bpr323 (May 14, 2018 at 2:20 AM).

  • Aaaand ... crickets ))

    Looks like I've raised a hush-hush tabu subject in the temple of HTPC ))

    So that you know, I finally found it - OpenPHT >> Releases · Veisen/OpenPHT · GitHub

    Based on LibreElec for Plex, believe it or not, but made WITH HANDS, by a software engineer.

    Rock solid Player implementation, DLNA shows up and stays on BubbleUpNP.

    Even the "playing it now" UI with embedded album covers, etc. reliably comes up on my TV (unlike stock LE)

    How come someone takes the same LE packages and makes a functional piece of software that WORKS ??!!

    Study and learn, HTPC fanboys. Modularize!

    And thanks for nothing! ))

    • Official Post

    How come someone takes the same LE packages and makes a functional piece of software that WORKS ??!!
    Study and learn, HTPC fanboys. Modularize!

    And thanks for nothing! ))

    Wow... People complaining about other people creating stuff in their own free time, who try to do their best and make it AVAILABLE FOR
    FREE to others, and STILL you turn out to be a total piece of ungrateful &^%$#@.

    LibreELEC is already used by so many users, I think we can afford to lose one of them. You cannot please everyone from the start.

  • How come someone takes the same LE packages and makes a functional piece of software that WORKS ??!!

    Study and learn, HTPC fanboys. Modularize!

    And thanks for nothing! ))

    Rather than a rant about modularisation, you could take a look at the vast amount of work that has been done over recent iterations of LE and recognise that modularisation has been a constant theme, with an increasing number of elements being modularised over the past couple of years. The fact that there is not a separate DLNA renderer "as standard" currently is a reflection of the needs and interests of the developers who do it for the love of it / for the fun of it. It is hardly a failing of the project and is certainly not worth such a criticism. With software such as LE, where the codebase is open, there's a very straightforward way or introducing changes such as you seek - try it yourself. If you don't have the time or skills, fair enough, but your apparent sense of entitlement does you no credit.

  • ... if you don't have the time or skills, fair enough, but your apparent sense of entitlement does you no credit.

    Mr Panda, two questions:

    1) What's the point including flakey DLNA in the build? Do it properly, or don't do it at all

    2) Why OpenPHT can use the same LE codebase and their DLNA works 100%, and this team can't?

    No doubt LE has a highly polished UI - very beautiful, but useless.

    • Official Post

    1) What's the point including flakey DLNA in the build? Do it properly, or don't do it at all

    2) Why OpenPHT can use the same LE codebase and their DLNA works 100%, and this team can't?

    It's pretty obvious that the 'default' LibreELEC setup is not to your liking. That's possible.

    But make your decision and stop ranting, or I will close the whole topic.