Emby Theater for Linux
Posted 08 January 2017 - 10:29 AM
Have you uninstalled lirc
When you type ir-keytable do you get any output I get driver mceusb table rc-rc6-mce you should get the same
Then try ir-keytable -t and press buttons on your remote and it should display which button you pressed if it does your remote is compatible and it will work.
- xnappo and redaktorn like this
Posted 08 January 2017 - 08:58 PM
I have for testing purpose uninstalled LIRC.
And then it works - BUT I get the problem that some remote buttons do not work.
One of the not working buttons is the OK button, so the remote becomes pretty useless.
When I type ir-keytable i get the following output:
Found /sys/class/rc/rc0/ (/dev/input/event3) with:
Driver nuvoton-cir, table rc-rc6-mce
Supported protocols: unknown other lirc rc-5 jvc sony nec sanyo mce-kbd rc-6 sharp xmp
Enabled protocols: unknown other lirc rc-5 jvc sony nec sanyo mce-kbd rc-6 sharp xmp
Name: Nuvoton w836x7hg Infrared Remote
bus: 25, vendor/product: 1050:00c3, version: 0x0033
Repeat delay = 500 ms, repeat period = 125 ms
When testing ir-keytable -t, I do get response on all kind of buttons - also OK button.
But it does not map correct so I have no OK button in Emby Theater.
Same problem in Kodi but if I install LIRC again I get all buttons to work in Kodi (none in ET)
Posted 08 January 2017 - 11:08 PM
The remote will work then few more steps
This command will produce the file that you need to edit
ir-keytable -r > ~/mcekeytable
now open it and change OK to ENTER and EXIT to ESC then reload it with following commands
ir-keytable -w ~/mcekeytable searching on google some put other options but this worked for me
then test it
now load theater and see do the buttons work they should then few more things
I copied the text file to /etc/rc_keymaps folder
and put this line nuvoton-cir rc-rc6-mce mcekeytable in /etc/rc_maps.cfg
try this if it doesn stick on reboot then you need to create autostart script
I have also had a small issue is that not everything worked unless I reboot.
you will also need to change KEY_NUMERIC_5 to KEY_5 and do this for the rest of the numbers I just took 5 for example.
Edited by denz, 09 January 2017 - 08:33 AM.
- redaktorn likes this
Posted 09 January 2017 - 04:28 PM
Now I have tried Emby Theater with a working remote and must say that I like it a lot
With some more development and a skinning community it will be a success.
Thank you denz for helping me out.
I have solved most issues using your information and some other info like here:
It took a huge amount of testing (for me who is a dummy) and as I understand it using ir-keytable (instead of lirc) will never be 100% compatible with Kodi. There is also a language problem when using ir-keytable since several keystrokes in Kodi actually differs when using non English keyboard.
My table "rc-rc6-mce" is located in /etc/rc_keymaps/
My "rc_maps.cfg" points to that file so it works and stays after editing and reboot.
An important issue that comes up when configuring ir-keytable is that Kodi and Emby Theater does not use same buttons. Example Kodi wants "X" for stop but that is not what Emby Theater use.
(I never found out what button equals to stop in ET but it is not "X")
In total this gives problems with play, stop, forward, reverse and some other functions.
(They don't work in Emby Theater when mapping is done to fit Kodi)
Maybe somebody more clever than me can find out how to map the ir-keytable to fit both Kodi and Emby Theater?
But it is over my knowledge for sure (Sorry).
My personal opinion is still that Emby Theater needs to support the LIRC to avoid problems and to make a compatible setup in Linux that can be used as well for Emby as for Kodi.
For getting all buttons working in Kodi with ir-keytable it takes several more buttons to edit than discussed above..
Some of them I had to try out by "trial and error" on my keybord to get right.
(Example EPG is not "G" in Swedish keyboard - it is "C")
When done with all buttons there are still things that cannot be solved.
Kodi use "pause" "play" and "playpause" with not only the "P". It uses also the "SPACE".
I could not find out of how to combine that in my table to get it right on the remote (but it is not important).
The important thing is that it seems to differ between Kodi and Emby + it differs depending what language you use.
As it is for the moment I am ready testing and have no more plans to test the current version.
If anybody is interested in my configuration of the ir-keytable i attach the file here.
(I am not asking for help with it - maybe it can help somebody else who wants to try Emby Theater for Linux)
- xnappo likes this
Posted 09 January 2017 - 05:23 PM
What would the priority be for y'all in:
1. Fixing the always-on-top issue
2. Making playback launch smoother (don't show the desktop while launching)
3. Get Okuru working again (https://emby.media/c...kuru-theme-wip/)
4. Other (though keep in mind we are talking about the Okuru skin and Linux port - anything that is general to ET is not me)
- redaktorn likes this
Posted 09 January 2017 - 10:27 PM
I believe #1 is now fixed in the Git - please pull it down and try it. You should be able to put ET in the background now without it always coming to the top, and the OSD should still work correctly when video is playing. Let me know. Thanks to @null_pointer for pointing me in the right direction (and then dragging my nose to the water).
Edited by xnappo, 09 January 2017 - 10:32 PM.
Posted 12 January 2017 - 05:03 PM
Thanks, Xnappo, but the link does not work. 404. Anyway I am a newbie at Linux, but not afraid of trying or learning...
Yes - that is the point That was an error from your logfile. If that doesn't install it isn't going to work. Since it is ARM, you might trying the Raspberry Pi install instructions.
Edited by xnappo, 12 January 2017 - 05:03 PM.
Posted 26 January 2017 - 11:57 PM
@TrainAss - how fast is the channel changing?
Sorry for the long delay in replying. Still have to use the mouse to back out to the guide from a channel. When I selected a new channel (went from Ch.2 to Ch.23) it took about 11s from when I hit enter on Play until the video was displayed. I tried up/down and ch up/down on the remote and neither changed channels (wasn't sure if that was working, as I didn't see anything indicating as such).
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users