Posts by trogggy


    Firstly the remore.conf and the Harmony are doing their job correctly. All they do is get that 'backspace (0xf008)' key into kodi; anything after that is down to how kodi deals with it.
    Q. Do you have any keymaps in /sorage/.kodi/userdata/keymaps? If you do can you post them up?
    If not it's either take a look at your default keymap (which means cranking up something like winscp) or looking at how your original remote deals with the back button and copying that.
    That (the keymaps folder) is where the file you're asking about goes btw - it's saved as *whateveryouwant*.xml and overrides the default keymap. The one you quoted won't work though, it's the 'backspace' command that needs to be mapped correctly.
    'Fullscreen' does pretty much what it says - takes you back to a full screen (if you're not already in one).

    Edit: It's possible 'Backspace' is correctly mapped to 'fullscreen' on the home page - 'cos there's nowhere to go back to IYSWIM. That's not mapped like that on my box, but it wouldn't be illogical.
    Maybe check the log when you press Exit in another window (eg movie library) and post the result...

    Two ways:
    1. Use coreftplite, winscp, filezilla or similar and it's in /.storage/.kodi/.temp

    2.In explorer navigate to 'Configfiles' and open the samba.conf.sample in a text editor.
    Add the following entries:


    Save the file as samba.conf (make sure you don't make samba.conf.txt!!!). Reboot, and when you open it up in explorer again you'll see the 2 new entries (only the first is needed if you just want to see the log files).

    I use number 2.


    Nope. Tried to to add the pivos again to my harmony devices and leave everything on default eccept I had to map the return command to my exit botton because it isn't mapped at all on default.
    All delays on default and even deleted the keymap editor addon in KODI to make shure it wasn't messing with any settings.
    Because I have a Harmony 350 for some devices I have to press the device button for 2 seconds to select it so put the pios on two device slots (short press and long press) to avoid any crossing commands.
    Still the same result. I don't know if I can maybe write a seperate keymap and map alle the buttons manualy. Could that work and if yes how do I do that? I already altered my keyboard.xml on the KODI run on my windows pc but I don't really know how to do that in Libreelec.


    This seems very odd - because it obviously worked when you went home from movielibrary and saw the power menu (ie kodi was detecting a 'longspace back' press).
    Can you do the following:
    1. Enable debug logging.
    2. restart kodi
    3. make a note of the time (on kodi homescreen).
    4. when the time switches to a new minute press Exit (return) a couple of times.
    5. when the kodi clock flips to the next minute press and hold Exit a couple of times (as earlier when you got the shutdown menu).
    6. upload the log to pastebin (or wherever) and let me know the time of the first keypress.
    Unless you're comfortable cutting and pasting from the log in which case just stick what you get in a post here.
    What I see in my log for a normal (short) press of Exit('return'):

    Quote


    Keyboard: scancode: 0x0e, sym: 0x0008, unicode: 0x0008, modifier: 0x0
    DEBUG: OnKey: backspace (0xf008) pressed, action is Back


    Edit: that 0xf008 is the 61448 in hex btw.


    I think the backspace button is missing because now I have mapped every button in my harmony with one of pivos remote buttons but none of them allows me to move backwards in any KODI menu.
    One of them must be mapped with the key id "

    Code
    61448


    " for backspace and your description says it would be the button "Return", but it doesn't work.

    And further you say "

    Code
    Buttons with a * are not mapped to physical buttons on the harmony.


    " But at first addition of the pivos remote to myharmony the backspace-return button that in your list has no * wasn't mapped to a harmony button so I did that myselve but it is still not working.

    EDIT: weird is if I'm in my movie library and hold the return button for one second it goes back to main menu and when I hold it for one second in main menu the shut down menu comes up like pressing "s" on a keyboard.


    Something odd is happening. Maybe with your Harmony settings - did you set the suggested delays? If not try them / if you did maybe try the default settings?
    The exit button on the Harmony should 100% work. I use a Harmony one and 525, and on both that backspace/return is mapped to exit by default - maybe yours is different...? Anyway I've just tested it with a new Harmony profile and the file from post #1 and I'm going back as expected by pressing exit (Harmony in device mode).

    The shutdown menu appearing makes sense actually. That's a 'longpress' function (pain in the neck if you ask me!). When I first used the Harmony - before I started messing with settings in remote.conf and the Harmony software to adjust delays - I used to see them all the time.
    Effectively your default keymap is saying this for the Exit button on your Harmony:


    That's what you saw when you longpressed and at least (phew ;) ) it shows the remote.conf is doing its job correctly.
    You can disable that behaviour (if you want to!) by editing the text aboveand sticking it in your keymaps folder. Eg to disable the power menu appearing:

    XML
    <?xml version="1.0" encoding="UTF-8"?>
    <keymap>
      <Home>
        <keyboard>
          <backspace mod="longpress">noop</pagedown>      
        </keyboard>
      </Home>
    </keymap>


    or to stop Exit taking you straight to the homescreen from your video library and video files:


    Did I mention I find editing keymap files a pain in the neck?
    Let me know how it goes, any problems keep shouting out here.


    And also could you maybe post a list what button name of the original pivos xios ds remote resembles which key id? That way I wouldn't have to try out again and again putting a command to a specific button using myharmony.


    Here you go. Last column:


    I've added that to the end of the guide, thanks for the feedback.


    That's great, I'll try it out this weekend. I just haven't figured out how to enter the internal storage of my box from my windows computer to put the remote.conf there.
    And also could you maybe post a list what button name of the original pivos xios ds remote resembles which key id? That way I wouldn't have to try out again and again putting a command to a specific button using myharmony.


    Easiest way to access the folder is via samba/smb:
    wiki video
    I've never seen a pivos - if you mean what buttons are set by default in the Harmony device I'll have a look - but it's pretty self-explanatory and you'll probably want to move some stuff around anyway when you come to make an Activity.
    I'll look at this tonight and see if I can make it clearer / add something useful. :)


    If you want more buttons I've just stuck a guide up for using a Harmony with a pivos xios ds profile.
    Here.

    The standard remote for my device (Beelink minimxiii) doesn't have a lot of buttons, so I was looking for something better.
    I ended up with a tweaked remote.conf for a pivos xios ds - loads of buttons, it's in the logitech database and it's fairly easy to set up. No LIRC on these things, so it's all about the remote.conf file.

    Outline:
    1. stick the remote.conf in storage/.config
    2. stick the pivos xios ds device on your Harmony
    3. learn the power-on command from your original remote, and add it to the device on the Harmony
    4. reboot amlogic thingumajig
    That's the meat of it - if you're comfortable playing with remote.confs and the Harmony you don't really need to read the rest...

    Now the detail.
    The remote.conf I use is this:


    Copy and paste that into a file called testremote.conf
    Copy that file onto your device - put it in the storage/.config folder ('Configfiles' if you're looking in Explorer).
    If you're unsure how to do that there's a guide on the wiki.
    That's now ready to try, so move across to your Harmony:

    • Install the 'pivos xios ds' device
    • using your original remote learn the 'power' command.
    • set the learned power command to 'power on' in the Harmony software
    • set the power command in the pivos profile to 'power off'


    After a bit of experimenting I ended up with the following delay settings for my Harmony:
    power on > 1000
    Inter-key, Inter-device and repeats (the last one accessed via 'troubleshooting') are all set to 0 (zero).
    Before that I had problems with multiple keypresses - it's what works for me / my device / my remote so use it as a starting point.

    Testing
    At this point your Harmony should be set up (at least as a device) and your remote.conf is in place, so you can try it out...
    SSH in (ie putty for windows) and run the following command:

    Code
    remotecfg /storage/.config/testremote.conf


    And it should work.
    If it does you can rename the existing remote.conf (assuming it's there - in case you want to go back to the original remote at some point) and make testremote.conf into remote.conf.
    After a reboot your Harmony should be working - now you just have to decide what to do with all the extra buttons.

    Tweaking buttons
    The easiest way is to use the keymap editor addon in the kodi repo. I dislike it, because the first thing it does when you enter is to disable all your existing custom keymaps - but it's a quick / easy way to set buttons to do what you want.

    Manually - if you enable debug logging and press a key then check the log you'll see what command / action was issued / performed and then use that to tweak your keymap.xml file.

    Changing remote.conf:
    Another option - you can change the code associated with a button by referencing the linux keycodes.
    The list I looked at is here:


    And finally, if you look at the box below, I've linked the Harmony commands for each button (last column). These are actually in my remote.conf, but sticking the whole thing in a code box made it too hard to follow...


    Anything not clear please fire away and I'll update this.

    Updated successfully - can't install any pvr addons. I've tried refreshing / restarting / rebooting. Not a crisis, just an observation.

    Quote


    CAddonInstallJob[pvr.dvbviewer]: The dependency on xbmc.pvr version 5.2.0 could not be satisfied.


    On the bright side your vnc addon's still working perfectly, so I don't have to get off my bum and walk upstairs to check it. :D


    Any bugs should be re-tested/reproduced with Kodi's default skin.
    If bugs only appear with other skins, it's not our problem. Simply contact the skin developer(s).

    If the problem still appears with Estuary, please report it.


    The whole point is it only works with the default skin.
    If there was a problem with a particular skin I'd address it there.
    In fact I did, when I thought the issue was just with confluence (and xonfluence, which is a confluence mod):
    Confluence / Xonfluence krypton bug / update needed?
    The missing bg.jpg is clearly nothing to do with the default skin. It's presumably a fallback that's supposed to be there in the addon.
    The reference to 'videolibrary' throws an error with the default skin.

    Seriously - if there is a problem with every skin except the default, and there's clearly at the very least a wrong reference (videolibrary) and a missing .jpg (referenced in the log) that would basically fix it for every other skin - you're not interested?

    Okay. I've fixed it to my satisfaction. And I've made the effort to do the right thing.

    ...on krypton. Unless you're using Estuary.
    Tested on S905 and Pi3. I've tried at least half a dozen skins and the background only works in estuary, which means otherwise you're seeing whatever's on the page you loaded from. Not too bad if it's a relatively empty page but not ideal.
    Examples:
    Xonfluence in Jarvis:

    Estuary:

    Confluence and xonfluence krypton (page visible behind):


    Also tried amber, mimic, arctic zephyr, titan and a couple of others - same.

    A couple of log snippets:
    Confluence
    Estuary

    Observations from those:
    1. There's a reference to 'videolibrary' - line 11 of service-LibreELEC-Settings-mainWindow.xml - that I think should now be 'videos'.
    2. Sticking a bg.jpg in resources/skins/Default/media/default makes it perfectly usable, ie that background loads, although you don't get the pretty header / footer / arrows.
    3. If I look in estuary there are a ton of references to '<include>DefaultBackground</include>' - can't see them in other skins...?

    I've about exhausted my abilities at this point - I'm no coder! - hope someone can look at it.

    Edit: just to add the logs are fairly old, still the same on the last Pi3 install v7.90.008 .


    Oh I was pretty surprised reading that. But after further testing I see that /Altair and /media/Altair is handled the same way, apparently :). I'm glad it works now for you!

    Regarding the very slow transfer: Try deleting the values SO_RCVBUF=65536 SO_SNDBUF=65536
    This doubles (or even more) the samba transfer speed on my Odroid C2 (before 13MB/s, after up to 40MB/s). Not sure which effect it can have on RPi3. Of course the wifi connection can be the limit already, so removing those buffers won't have any positive effect.

    I think the samba.conf might be a red herring (in that it's not required) anyway.
    I have a 5TB drive on my s905 box and the nearest entry I have in samba.conf is:

    Code
    [USB Drives]
      path = /media
      available = yes
      browsable = yes
      public = yes
      writable = yes
      root preexec = mkdir -p /media


    - but it shows up by name and behaves nicely anyway when I view shares - presumably as long as you've checked 'share external drives automatically' (or something close to that) in libreelec settings.

    It is full size if you've done a normal installation.
    The sd card has a small read-only Fat partition (500MBish) - that's the one you see when you stick it in a windows pc.
    The rest of the card is filled by an ext4 partition that holds your data. You can stick your music on there via smb from your pc.
    If you open an explorer window on your pc and put \\192.168.xx.yy in the address bar (using the IP of your libreelec box / pi / thingumajig) you'll see a bunch of folders (shares) pop up. One of them is called Music. Copy and paste into that.


    hello

    can i use with an amlogic s905x device like the probox2 air dual boot , librrelec on sd card and android on the device?


    Yes you can. in fact it's recommended you install that way first, even if you intend to wipe android and install libreelec on the device.
    Take a look at the stickies in the amlogic section - all installation instructions are there.


    I have an older gigabyte brix. I recently installed librelec on a flash drive to give it a try and notice that my harmony 650 remote does not seem to work. I have a cheap rosewill ir dongle from newegg. Are there different dongles that work better than others or is there some extra config I need to do. Any help is greatly appreciated.


    You need to load a device on the Harmony that's compatible with the dongle.
    So if the dongle comes with a remote that's a place to start.
    Or if you have a model number for the dongle it should be simple to find.
    What device are you using on the Harmony now?