Posts by freebase1ca

    BTW, The Matricom link on the main post that is supposed to provide the installation instructions for OpenElec no longer works. Matricom has removed their support for the MX2.

    Can anyone provide revised installation instructions?

    I just realized there is a way to get Kodi 17/18 on these old boxes and would love to resurrect them.


    Are there instructions anywhere on how to use the "recovery method" to load this image onto an MX2? I haven't had LE on my MX2 before. I've recently been having great luck with LE on my s905x. I'm just trying to resurrect the MX2 now that this image is here!

    Great guide, but I need more hand holding...

    I've been trying to add actions to the unused buttons on my remote. The keymap add-on created keymaps and any that I create manually have absolutely no effect. was hoping modifying the remote.conf might offer me salvation.

    dmesg -c doesn't return anything when I press one of the keys that produce no actions. I guess this means that LE is already happy seeing that keypress?

    I'm unable to find /storage/.config through the file manager in LE.
    If I try to access /storage/.config via SSH, I get a Permisson Denied.

    I'm new to LibreELEC and loving it! The new bluetooth audio options are allowing me to perfect my multimedia setup. The last piece to the puzzle is perfecting my remote functions...

    Unfortunately, every customization I try to make to my remotes is completely ignored. Is it just me? or is there something unique to LE that I need to know about?

    I'm using LibreELEC-S905.arm-8.0-7.90.beta4.img on some Nexbox A95x (s905x 1/8GB) boxes.
    The remote bundled with the devices is great with its IR learning buttons. But without Android, there are a few unused buttons I'd like to re-purpose. There is a Kodi, globe, and presentation button that serves no purpose anymore.
    I also have some Minix A2 Lite remotes which give me keyboard and air mouse capabilities. But for some reason this build ignores the all important menu button. There is also a button with multiple squares on it and an application button that could be used for something.

    So each remote has 3 buttons just begging to be useful. But everything I try has failed to make any change...

    I've tried the keymap add-on which creates a gen.xml file in the keymaps folder. I've also tried manually editing xml files with actions I have found in the main keyboard.xml. Not only have I tried using button ids reported by the add-on, but I have also tried remapping currently used buttons like the '1' or '2' in hopes of getting any change to happen. Despite rebooting, no behaviour ever changes. I have not managed to alter the behaviour of any button.

    What am I missing?

    What information do you need from me to help troubleshoot?

    Here's an example of a simple xml file I have tried (one of many):

          <key id="61489">playpause</key>
          <key id="61490">audiodelay</key>
          <key id="61491">contextmenu</key>

    Thanks for any and all attenton,


    Quick question and a shot in the dark...
    Have you enabled the 'wait for network' option in libreelec settings?
    I ask because if kodi's starting before your network's up that will bork your pathsubs (kodi looks for them but they're not there > errors) and maybe cause the symptoms you describe.

    Edit: btw you should check the kodi wiki for changes in video cache settings in v17 - yours need to be updated.

    Thank you so much for this. I figured it was going to be some LibreELEC specific thing that was going to get me. The "wait for network" setting was exactly what the doctor ordered. All the sources and libraries are now online!

    Thank you very much!

    Yes, I removed the cache settings. I'll try the default for a while. A long time ago I was having troubles when too many people were watching at once and while the server was also handling downloads and things. Since then routers and things have been upgraded so problems like that shouldn't exist.

    Yep, this is one old environment. I'm just taking the config files I'm using on a Windows Kodi 17rc1 so I would expect them to continue to work. Naturally the xbmc user is a carry over from those old days - but works everywhere else.

    I definitely don't set and forget the sources. I'm constantly adding more drives that require another source to be added. Keeping 8 devices in sync would be a royal pain without this nice centralized config - that has always worked until now.

    I'm definitely happy to post complete logs if people are willing to sift through them. I don't understand why I would have network errors. The same parameters are being used as elsewhere. I have wired connections. I am able to manually map to those sources from that device and it s able to write to the central sources.xml file - it just isn't reading from it.

    I'll post complete logs n a few hours...

    Kodi/LibreELEC has not been designed specifically, or optimized at all, to use local settings on a shared network share. Since you haven't shared your advancedsettings.xml file with us, I can only guess that you either used path substitution or soft links to redirect access to the various config files. Also, not all addons do will with centralized data storage. If your AV.xml file is ignored at all, it should come up in kodi's log file.

    Thanks for the quick response! (I was just heading to bed and was going to give the post time to be seen.)

    Here's my advancedsettings.xml:

    It's pretty standard. This file has remained unchanged since 2014. It has worked across many version of Kodi.

    But if Kodi/LE hasn't been optimized to use a shared network share, why isn't it even trying to use the local copy it has?

    Disregarding the central share for a moment... why isn't Kodi/LE even trying to make use of the SQL database library settings that are also in that file?
    I've just turned debugging on. I've also started digging through the logs...

    I see where it reads the contents of the advancedsettings.xml. No complaints there.

    But then I do see a number of database errors such as:

    00:00:35.151 T:4026524576 ERROR: Unable to open database: MyMusic60 [2003](Can't connect to MySQL server on '' (101))
    00:00:35.155 T:4026524576 ERROR: Unable to create new database
    00:00:35.156 T:4026524576 ERROR: Unable to open database: MyVideos107 [2003](Can't connect to MySQL server on '' (101))
    00:00:35.161 T:4026524576 ERROR: Unable to open database: MyVideos107 [2003](Can't connect to MySQL server on '' (101))
    00:00:35.161 T:4026524576 ERROR: Unable to create new database
    00:00:35.166 T:4026524576 NOTICE: Running database version TV29
    00:00:35.171 T:4026524576 NOTICE: Running database version Epg11
    00:00:35.178 T:4114446960 NOTICE: start dvd mediatype detection
    00:00:35.260 T:3999265696 NOTICE: Register - new cec device registered on cec->AOCEC: CEC Adapter (0000:0000)
    00:00:35.858 T:4114446960 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
    00:00:36.075 T:3927970720 ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://USERNAME:[email protected]/Resources/Software/Kodi%20Config/playlists/video'
    unix_err:'6e' error : 'Connection timed out'
    00:00:36.075 T:3927970720 ERROR: GetDirectory - Error getting /storage/.kodi/userdata/playlists/video
    00:00:36.075 T:3927970720 ERROR: GetDirectory - Error getting special://profile/playlists/video
    00:00:36.075 T:3927970720 ERROR: Error Getting Directory (special://profile/playlists/video)
    00:00:36.076 T:3927970720 ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://USERNAME:[email protected]/Resources/Software/Kodi%20Config/playlists/mixed'
    unix_err:'6e' error : 'Connection timed out'
    00:00:36.077 T:3927970720 ERROR: GetDirectory - Error getting /storage/.kodi/userdata/playlists/mixed
    00:00:36.077 T:3927970720 ERROR: GetDirectory - Error getting special://profile/playlists/mixed
    00:00:36.077 T:3927970720 ERROR: Error Getting Directory (special://profile/playlists/mixed)
    00:00:36.077 T:3927970720 ERROR: GetDirectory - Error getting multipath://special%3A%2F%2Fprofile%2Fplaylists%2Fvideo/special%3A%2F%2Fprofile%2Fplaylists%2Fmixed/
    00:00:36.077 T:3927970720 ERROR: GetDirectory - Error getting special://videoplaylists/

    I'm hoping this is the appropriate place to post this...

    I'm brand new to LibreELEC. I've come to take advantage of the recent addition of Bluetooth audio support (which is working great BTW.)

    I traditionally have Kodi on about 8 devices in my home. To provide a consistent user experience I have been a long time user of the Kodi SQL database for the library. I have also been doing path substitutions so that all devices share the same sources.xml file. If a source is changed on one device, all will see it. This setup has been working great for years.

    I recently upgraded to Kodi 17rc1 on my Windows machines which appropriately moved to a new SQL database specifically for v17. It has all been working great.

    I've now come to LibreELEC in order to bring Kod 17rc4 (LibreELEC-S905.arm-8.0-7.90.beta4.img.gz) to my Amlogic S905x (1GB/8GB) boxes that are running Android 6.0 / Kodi 16.

    Since I am currently testing, I am just booting LibeELEC from an SD card.

    I've been impressed so far, but have run into a problem with the advancedsettings...

    From Windows I have connected to the LibreELEC's SMB share and moved all my standard xml files into the Userdata folder. The Userdata folder is given all the same xml files I store in a central, common share (mostly for redundancy in case the network is ever down). The advancedsettings.xml file defines the SQL database settings as well as defining a number of pathsubstitutions which tells Kodi to use the xml files like sources.xml from the central share instead.

    This arrangement works with Kodi 17rc1 on my Windows machines, but doesn't seem to be working with LibreELEC 7.90.beta4. When LibreELEC boots, it acts like there are only empty libraries. It also shows no sources - as if none were defined. One might think that the advancedsettings.xml file has failed to deliver any settings, but this isn't the case. If add a source in the interface, the sources.xml file in my central share will be overwritten with a new sources.xml file that defines only that single new source. Also, if I reboot LibreELEC, it will repeat the process. It won't remember the source I just defined previously and will happily overwrite that central file with any new one I create. Oddly, LibreELEC completely ignores the sources.xml file I stored locally the entire time.

    So the problem seems to be that LibreELEC is sort of ignoring the advancedsettings.xml file, but certainly not entirely. Although it's not presenting the SQL library and not giving me my defined sources, it does write to that folder and doesn't use the local copy of sources.xml at all. It's as if it's only processing the advancedsettings once it's too late to affect the current GUI interface or something.

    Being new to LibreELEC, I don't know if I am unaware of some special behaviours, or if this is a result of booting from SD or if this is simply a bug in this beta.

    Thanks for any and all help. I'm happy to provide any extra details or debugging that might help.