Share your experience!
Does anyone know how to map the ChannelUp and ChannelDown buttons for KODI TV?
Everytime that by mistake I click on those buttons Android goes out from KODI and open Programm Guide on the HDMI 1 port.
I have added the following SonyRemote.xml file under .kodi/userdata/keymaps:
<keymap>
<FullscreenLiveTV>
<keyboard>
<key id="166">ChannelUp</key>
<key id="167">ChannelDown</key>
</keyboard>
</FullscreenLiveTV>
</keymap>
but it does not work. I have tried to find the key ID of those buttons in the debug mod connecting with adb but I'm not so sure they are the right one. I'm not sure neither if the remote control is recongnized by the tv as a keyboard,remote or a joystick. APPs like Zattoo TV is able to use those buttons to change channels or X-plore file manage to scroll up and down text files. They might be a way to use them with Kodi too.
Any ideas?
PS: If there are many user interested in KODI in this forum we might think to open a new discussion and sharing tips and configuration files to optimize our Sony Android TV for KODI.
try addon "keymap editor" and add some other function to those buttons. If you can, 'cause I'm not sure if you can remap every single button on the remote.
I have already tried that addon, but as soon as I click on channel button it opens the HDMI
well, then you have the answer.
But....... I just tried and nothing happens when I press PROG + or - anywhere within KODI.
@Luigi_R I am using SPMC and Prog +/- do nothing here either. Although I must say that at least SPMC did recognise somewhere the Bravia remote (with the model number and everything).
Which model do you have guys? mine is the KD 49XD8077. I would prefer your behaviour rather than mine. Everybody here got used to change channels with PROG +/- so everytime we click on it by mistake while watching the TV on kodi, it goes out and opens the input HDMI 1. The same behaviour if I press on GUIDE. What is your remote control? Mine is SONY TV RC MIC 001 (054C:0B91) which i think is recognized as joystick by Kodi
RMT-TX1000 on w755c.
The buttons that do take me out of KODI are TV, NETFLIX, HOME, GUIDE, sync menu, title list, help, input select...... but not PROG +/-
And I do have some mapped but those are num keys, info button and TTX color buttons.
Then it is a different device. If it could help this is what happens when I press PROG + for instance:
Tvx-TvPlayer: Receive global key event: code=KEYCODE_CHANNEL_UP, action=ACTION_UP, repeat=0
11-19 18:58:23.189 1836 14445 I ActivityManager: START u0 {act=com.sony.dtv.tvx.intent.action.START_PLAYING_TV cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=com.sony.dtv.tvx cmp=com.sony.dtv.tvx/.MainActivity (has extras)} from uid 10135 on display 0
11-19 18:58:23.199 1836 14445 D PowerManagerNotifier: onWakeLockAcquired: flags=1, tag="*launch*", packageName=android, ownerUid=1000, ownerPid=1836, workSource=WorkSource{10135}
11-19 18:58:23.224 4276 6252 D nPipTag : onForegroundActivitiesChanged
11-19 18:58:23.224 4276 6252 D PipModeUtil: IActivityManager Contains:android.app.ActivityManagerProxy@9ba1902
11-19 18:58:23.225 4276 6252 D PipModeUtil: StackInfo Contains:null
11-19 18:58:23.225 4276 6252 D nPipTag : selectInputTypeByCurrentActivity, isPipMode : false
11-19 18:58:23.229 4276 6252 I PictureModeControlService: Excluded target package: com.sony.dtv.tvx
11-19 18:58:23.229 4276 6252 I TvInputWrapper: onForegroundActivitiesChanged
11-19 18:58:23.229 3393 14794 I RunningActivityManager: onTopActivityChanged
11-19 18:58:23.274 3748 3748 I Tvx-TvPlayer: Find tune action by keyCode = 166
11-19 18:58:23.274 3748 3748 I Tvx-TvPlayer: tune action = LAST_WATCHED
11-19 18:58:23.274 3748 3748 I Tvx-TvPlayer: handleIntent(): isAppOnBoot=false, mInitChannelUri=null, params=Bundle[{from_tvplayer=true}]
11-19 18:58:23.275 3748 3748 I Tvx-TvPlayer: Set the FavoriteMode by Intent: NONE
11-19 18:58:23.275 3748 3748 I Tvx-TvPlayer: Keep the current mode.
11-19 18:58:23.278 3748 3748 I Tvx-TvPlayer: startTv(): channelUri=null, currentChannel=null
11-19 18:58:23.278 3748 3748 I Tvx-TvPlayer: Found Last input channel Or Default channel.
11-19 18:58:23.279 3748 3748 I Tvx-TvPlayer: requestAudioFocus
11-19 18:58:23.280 3748 4133 I Tvx-TvPlayer: [TV] action card menu will be updated :[watch_tv, ]
how about removing that Sonyremote.xml? I mean, if you have something defined there that will always do something.
I don't think that my device and remote has anything to do with that, it's just your (miss)configuration.
I have added the file trying to make the PROG buttons working as I wanted. Without is behaving in the same way. Since I did not manage at the moment I have removed it.
I think my TV has been set to switch to last watched (Tvx-TvPlayer: tune action = LAST_WATCHED). If I press the PROG but even from the Home page it switch to HDMI
Naznačite sviđanje na Facebooku
Pretplatite se na YouTubeu