BrutynNick
Posts: 4
Joined: Sat Mar 21, 2015 11:12 am

XBMC/Kodi with a LG TV remote

Sat Mar 21, 2015 12:50 pm

Hey,

I have a Raspberry Pi 2 since yesterday, and it works very good. I'm glad I have it.
I have installed OpenLec 5.0.3 with Kodi. This works also great. I had no problems installing or using it.
But I want to use my TV remote with the Raspberry Pi 2, because I don't want to use a (wired/wireless) keyboard, or tablet to navigate in the menu or videos.

I had a LG TV (42LF66), the TV has simplink. So I can use the TV remote to navigate in the menu's.
When I 'm in the Video menu, then I browse to my usb, and can play a movie. Also I can play, pauze the movie with my TV remote. However I can't navigate out of the Video section to go to the main menu, and navigate to the Music or system section.
I can't reach the X button in the top right corner. I have attached an image (found on the internet) of my TV remote.
I have a 'Back' and 'Exit' button, but thay doesn't seem to work. Maybe I can use these button to return to the main menu.
How can I configure this to use the buttons. Modify an config file or something. Or is there any manual for this?

With the keyboard I can use the Escape button to reach the main menu.

In System -> Settings -> System -> Input Devices -> Peripherals -> CEC adapter, I have this.

My CEC adapter:
ProductID: 1001
Producer: 2708
Class: cec
Version: libCEC.2.2.0 firmware v1

Thanks in advance.
Nick.
Attachments
remote.jpg
LG TV remote
remote.jpg (45.3 KiB) Viewed 22339 times

BrutynNick
Posts: 4
Joined: Sat Mar 21, 2015 11:12 am

Re: XBMC/Kodi with a LG TV remote

Sat Mar 21, 2015 4:22 pm

I also read here that you can configure the buttons.
http://kodi.wiki/view/Keyboard.xml#Remotes

So I want to configure the buttons EXIT, BACK, red, green, yellow and blue button.
If the EXIT and BACK can't be configured I will use the color buttons to return to the main menu.

The location of the keymaps folder is here:
OpenELEC /storage/.kodi/userdata/

My steps:
-connect with putty
the putty connection
192.168.1.2:22
-login: -root/openelec

commands:
ls -al
cd .kodi
cd userdata
cd keymaps

There is no remote.xml here?
My linux is very weak, I know only ls and cd ....


What I want:
-using the color buttons to return to the main menu, or videos, music menu.
-the remaining buttons must work as the default (like play, pauze, ....)

I want something like this.

Code: Select all

<keymap>
   <global>
     <remote>
		<red>ActivateWindow(Home)</red> //main menu
		<green>ActivateWindow(MyVideos)</green> //video menu
		<yellow>ActivateWindow(MyMusic)</yellow> //music menu
		<blue>ActivateWindow(MyPictures)</blue> //picture menu
		... the rest is default...
     </remote>
   </global>
 </keymap> 
Is this the way to do it? Is there an example how to do this?
Or can somebody make the remote.xml for me?
And how to put it there?

malinaPi
Posts: 4
Joined: Wed Mar 04, 2015 8:30 am

Re: XBMC/Kodi with a LG TV remote

Fri Jul 31, 2015 7:40 am

Did you ever get this to work with your LG TV? LG televisions' "simplink" software/firmware sucks!

By the way, there's a sample remote.xml file in your :arrow: /usr/share/kodi/system/keymaps/ directory; just copy it over to your home directory:

Code: Select all

cp -r /usr/share/kodi/system/keymaps/remote.xml /home/USERNAME/.kodi/userdata/keymaps

malinaPi
Posts: 4
Joined: Wed Mar 04, 2015 8:30 am

Re: XBMC/Kodi with a LG TV remote

Fri Jul 31, 2015 7:56 am

Also, some things from XBMC are deprecated in Kodi; such as the Button action names. Take a look at the kodi wiki page for more information.

Finally, I'd like to point out that it may not be necessary to try to troubleshoot the TV remote integration if you've got an Android device, unless you really want to do so. Anyway, "Kore, the Official Remote for XBMC/Kodi is available on the PlayStore, and it works great even with the newest version of Kodi (15.x-Isengard)!

Return to “Media centres”