Kodi Community Forum
Where is TranslateRemoteString() ? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Wiki (https://forum.kodi.tv/forumdisplay.php?fid=262)
+--- Thread: Where is TranslateRemoteString() ? (/showthread.php?tid=317680)



Where is TranslateRemoteString() ? - MoonKid - 2017-07-03

Please see this wiki-page. This paragraph mention the function TranslateRemoteString() in ButtonTranslater.cpp. But it is currently not there anymore.

Could you give a hint where the "up to date list of the available actions" can be found now in the sources? I will update the wiki page.


RE: Where is TranslateRemoteString() ? - T-bird_se - 2017-07-04

Reading a bit longer down on the same page you linked gives some actions and a link to this
http://kodi.wiki/view/Action_IDs


RE: Where is TranslateRemoteString() ? - MoonKid - 2017-07-04

(2017-07-04, 11:23)T-bird_se Wrote: Reading a bit longer down on the same page you linked gives some actions and a link to this
http://kodi.wiki/view/Action_IDs
Sorry, my question wasn't clear enough.

I am looking for the location of that ids in the source code - nowhere else!

The wiki-page is not a full documentation and it is not complete. That is why the link to the sources is so important!
Do KODI-devs reading this forum? On GitHub is no way to open an issue. And it is not the topic for a ticket on the Bug-Tracker.


RE: Where is TranslateRemoteString() ? - DaVu - 2017-07-05

I'm not a dev in any way but maybe this is what you are searching for:

https://github.com/xbmc/xbmc/blob/master/xbmc/input/ButtonTranslator.cpp#L361

There is: TranslateUniversalRemoteString

Which kind of issue do you want to report? For bug reports use: trac.kodi.tv

Source ActionIDs: https://github.com/xbmc/xbmc/blob/master/xbmc/input/ActionIDs.h

This also might be important: https://github.com/xbmc/xbmc/blob/master/xbmc/input/Action.cpp

as well as: https://github.com/xbmc/xbmc/blob/master/xbmc/input/ActionTranslator.cpp

If that's not what you are searching for, you should make your self a bit more clear so we could understand what issue you have.


RE: Where is TranslateRemoteString() ? - MoonKid - 2017-07-05

The wiki-page I liked to in the first post mentioned the ButtonTranslater.cpp and a function (translateremotestring) in there that doesn't exist anymore. I just wanted to update the wiki page with pointing to the correct code for other users.

It is not an issue/bug but just a try to contribute.


RE: Where is TranslateRemoteString() ? - DaVu - 2017-07-05

ok, if you post in that section here, everyone will assume you have a problem with Kodi itself and not with its documentations. Wink

Not a problem at all, that you have posted here, but we have a Wiki-subforum for those questions:

https://forum.kodi.tv/forumdisplay.php?fid=262

I'll move that thread to it.