Jump to content


Photo

Emby Theater for Linux


  • Please log in to reply
538 replies to this topic

#21 denz OFFLINE  

denz

    Advanced Member

  • Members
  • 1706 posts
  • Local time: 08:47 PM
  • LocationPerth, Australia

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

#22 redaktorn OFFLINE  

redaktorn

    Advanced Member

  • Members
  • 47 posts
  • Local time: 01:47 PM
  • LocationSweden

Posted 08 January 2017 - 08:58 PM

Hi denz,

 

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)

 



#23 denz OFFLINE  

denz

    Advanced Member

  • Members
  • 1706 posts
  • Local time: 08:47 PM
  • LocationPerth, Australia

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 -c
ir-keytable -w ~/mcekeytable  searching on google some put other options but this worked for me

 

then test it

 

ir_keytable -t

 

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

#24 redaktorn OFFLINE  

redaktorn

    Advanced Member

  • Members
  • 47 posts
  • Local time: 01:47 PM
  • LocationSweden

Posted 09 January 2017 - 04:28 PM

Hi,

 

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:

http://pdxpastimes.b...working-in.html

 

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)

 

 

Attached Files


  • xnappo likes this

#25 xnappo OFFLINE  

xnappo

    Advanced Member

  • Developers
  • 5680 posts
  • Local time: 06:47 AM
  • LocationAustin, TX

Posted 09 January 2017 - 05:23 PM

Nice work.  

 

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

#26 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 113313 posts
  • Local time: 07:47 AM

Posted 09 January 2017 - 05:25 PM

1 & 2 and then at this point the linux specific work will more or less be done.


  • xnappo likes this

#27 redaktorn OFFLINE  

redaktorn

    Advanced Member

  • Members
  • 47 posts
  • Local time: 01:47 PM
  • LocationSweden

Posted 09 January 2017 - 05:33 PM

I would also suggest 1 and 2

Thank you for keeping up the work


  • xnappo likes this

#28 xnappo OFFLINE  

xnappo

    Advanced Member

  • Developers
  • 5680 posts
  • Local time: 06:47 AM
  • LocationAustin, TX

Posted 09 January 2017 - 05:39 PM

Alright.

 

Thanks guys.  I think I can fix both in a not-so-beautiful way pretty quick.  Will take a look tonight.



#29 xnappo OFFLINE  

xnappo

    Advanced Member

  • Developers
  • 5680 posts
  • Local time: 06:47 AM
  • LocationAustin, TX

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.


#30 clarkss12 OFFLINE  

clarkss12

    Advanced Member

  • Members
  • 774 posts
  • Local time: 07:47 AM
  • LocationMichigan, USA

Posted 12 January 2017 - 04:08 PM

I tried to install this to my Amlogic S905X arm device running Ubuntu 16.04.  My $40 Linux box runs OK, but thought I could get the ET running on it.  I am now running my Emby server running on it.

 

Attached Files



#31 xnappo OFFLINE  

xnappo

    Advanced Member

  • Developers
  • 5680 posts
  • Local time: 06:47 AM
  • LocationAustin, TX

Posted 12 January 2017 - 04:43 PM

Possibly no Electron for ARM64..


Error: Failed to find Electron v1.4.14 for linux-arm64 at https://github.com/e...linux-arm64.zip

Supporting ARM isn't in my goals for this right now. But feel free to play with it.

#32 clarkss12 OFFLINE  

clarkss12

    Advanced Member

  • Members
  • 774 posts
  • Local time: 07:47 AM
  • LocationMichigan, USA

Posted 12 January 2017 - 04:51 PM

Thanks, Xnappo, but the link does not work.  404.  Anyway I am a newbie at Linux, but not afraid of trying or learning...



#33 xnappo OFFLINE  

xnappo

    Advanced Member

  • Developers
  • 5680 posts
  • Local time: 06:47 AM
  • LocationAustin, TX

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.

 

https://emby.media/c...n-raspberry-pi/

 

xnappo


Edited by xnappo, 12 January 2017 - 05:03 PM.


#34 clarkss12 OFFLINE  

clarkss12

    Advanced Member

  • Members
  • 774 posts
  • Local time: 07:47 AM
  • LocationMichigan, USA

Posted 12 January 2017 - 05:14 PM

Thanks, Xnappo.
Tried the one you  referred to, but same issue.  Will continue to look for  a solution.



#35 xnappo OFFLINE  

xnappo

    Advanced Member

  • Developers
  • 5680 posts
  • Local time: 06:47 AM
  • LocationAustin, TX

Posted 15 January 2017 - 12:01 PM

Can someone try LiveTV with this?  



#36 TrainAss OFFLINE  

TrainAss

    Advanced Member

  • Members
  • 145 posts
  • Local time: 06:47 AM
  • LocationEdmonton, AB

Posted 25 January 2017 - 01:03 AM

Can someone try LiveTV with this?  

Just tried LiveTV, and it worked.

588831a5a0b48_Screenshotfrom201701242202


  • hoppel118 and zigzagtshirt like this

#37 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 113313 posts
  • Local time: 07:47 AM

Posted 25 January 2017 - 01:46 AM

@TrainAss bravo !


  • hoppel118 likes this

#38 xnappo OFFLINE  

xnappo

    Advanced Member

  • Developers
  • 5680 posts
  • Local time: 06:47 AM
  • LocationAustin, TX

Posted 25 January 2017 - 10:55 AM

@TrainAss - how fast is the channel changing?


  • hoppel118 likes this

#39 TrainAss OFFLINE  

TrainAss

    Advanced Member

  • Members
  • 145 posts
  • Local time: 06:47 AM
  • LocationEdmonton, AB

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



#40 denz OFFLINE  

denz

    Advanced Member

  • Members
  • 1706 posts
  • Local time: 08:47 PM
  • LocationPerth, Australia

Posted 27 January 2017 - 12:06 AM

That looks like the same time as we get in raspberry pi using omxplayer it is just too slow.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users