Posts by bpr323

    As I was searching for help with MiniDLNA add-on on LE 9.0.1 - I came across this post from Klojum on the Kodi forum:

    "We recently tested a version of MiniDLNA on a LibreELEC 9.x test build and it worked".

    I've tried and failed to get MiniDLNA working on LE about a year ago - could you please share your test copy of the conf file and the relevant file locations to edit and commands?

    Thank you!

    I've installed LE on an Intel box and I cannot get Transmission add-on to work.

    I installed Transmission from official LE library - not from zip or from Thoradia.

    It installed with 3 mandatory components, but fails to launch when I click on the icon tile. Returns an error that it couldn't connect and asks to open settings dialog ..

    1) What is the bloody point releasing an "official" module that doesn't work out of the box?

    2) There is bugger all information on how to fine tune it on LE Wiki - NOTHING there, nothing on this forum.

    I try opening http://192.168.1.209:9091/transmissionweb/ - nothing, connection refused

    I SSH to 192.168.1.209:22 (root/libreelec) - cannot even find transmission-daemon

    Can someone please provide instructions on:

    1) how to start transmission on LE

    2) how to get rpc and web ui working?

    I've uninstalled the "official" Transmission add-on and downloaded the service.transmission-9.1.16.zip from Thoradia repository on Github, but when I try to "install from zip" on LE 9.01 add-ons page it returns error msg that installing from unofficial sources is disabled :(

    What's the work-around?

    I've installed from zip the correct minidlna service add-on for Milhouse 9.0 build, on top of the generic add-on from official LE repo

    I got the zip from CVH's repository here - http://cvh.libreelec.tv/addons/9.0/minidlna/generic/

    Kodi reported on UI that "Minidlna add-on was updated successfully"

    Upon further investigation, there are 2 separate "minidlna.conf" files on the system:

    LibreELEC:~ # find . -name minidlna.conf

    ./.kodi/addons/service.minidlna/config/minidlna.conf

    ./.kodi/userdata/addon_data/service.minidlna/config/minidlna.conf

    I've changed the friendly name to XYZ in the "userdata" conf to test which of the two conf's is taking effect

    My BubbleUPNP controller correctly reports there are 2 media servers available - XYZ and Kodi (LibreELEC).

    The "DLNA Server" used in the other conf - in "addons" folder, doesn't show up on the network, and it's not having any effect.

    QUESTION - What is the purpose of the minidlna.conf in the "addons" folder if the minidlna.conf in "userdata" overrides it?

    The service.log in "userdata" after minidlna killall and restart reads that:

    /storage/jenkins/workspace/Addons/All_Add-ons/build.LibreELEC-Generic.x86_64-9.0-devel/minidlna-138d03d/upnphttp.c:1065: warn: HTTP Connection closed unexpectedly

    The error "HTTP Connection closed unexpectedly" (and stoppage of Kodi playback after 30 sec) which started with "official" 8.2 version of MiniDLNA add-on, persists with CVH's version of minidlna service for Milhouse 9.0

    Could someone please help me here?

    I've installed the MiniDLNA from the official add-on repo - after updating to the latest Milhouse 9.0

    MiniDLNA works, but it is unable to scan media files on my USB drive (WD3Tb) - which Kodi library scans without a problem, though.

    I've edited the minidlna.conf in \\LIBREELEC\Userdata\addon_data\service.minidlna\config\

    Kodi uses /media/WD3Tb as path to my USB in Library Sources for videos and music, so I used the same path to configure Minidlna.

    media_dir=/media/WD3Tb

    This doesn't work. Looking at service.log there's an error - [2018/10/14 17:10:29] /storage/jenkins/workspace/Addons/All_Add-ons/build.LibreELEC-Generic.x86_64-9.0-devel/minidlna-138d03d/minidlna.c:668: error: Media directory "./var/media/WD3Tb" not accessible [No such file or directory]

    From Chewitt's explanation above, I vaguely understand that the issue is caused by Minidlna "user" not granted same read permissions as Kodi on the /media/* folder, which is a virtual directory. OR there's some problem with the way my USB drive is mounted/configured for Kodi and Minidlna.

    I log in with SSH as root, but also get an error:

    LibreELEC:~ # /dev/disk/by-label/WD3Tb

    -sh: /dev/disk/by-label/WD3Tb: Permission denied

    Worst of all, playing a song directly in Kodi, it starts playing then stops

    Checking miniDLNA service.log - there's an error:

    /storage/jenkins/workspace/Addons/All_Add-ons/build.LibreELEC-Generic.x86_64-9.0-devel/minidlna-138d03d/upnphttp.c:1065: warn: HTTP Connection closed unexpectedly.

    1) Could someone please provide the commands I need to run in SSH - step by step for Minidlna to be able scan my USB?

    2) And what's causing the "closing of HTTP connection" - how do i fix this?

    Is Milhouse 9.0 update causing this, and should I reinstall from scratch the stock LibreELEC-Generic.x86_64-8.90.006.img??

    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?

    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

    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?

    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 for Categories, Genres and Playlists, I want to see only one option - FILES, which shows me the folders

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

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

    Massive thanks to Veisen for making LE work as it should with regards to UpNP/DLNA.

    I was trying to make the stock LE work as a DLNA renderer on a NUC, but their implementation of DLNA is flaky at best.

    Tried to bring it up here, but got zero meaningful response from the local apparatchiks - LE as DLNA/UPNP Renderer Player only (no media server)

    I stumbled on OpenPHT and installed (using LE SD creatotr) the generic 86 version (img.gz) from here - Releases · Veisen/OpenPHT · GitHub

    I don't care for Plex, so I skipped the Plex account login (I don't hve one), and as a bare bones DLNA renderer (DIY media player) this OpenPHT is rock solid!! The only criticizm is that USB mouse support is disabled by default, so instead of trying (in vain) to click "Next" the workaround is to press Escape on k/b which lets you make all config settings via GUI.

    THANK YOU Veisen, you're the MAN

    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! ))

    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

    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?