Is it possible to use xmb core strings id? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: Is it possible to use xmb core strings id? (/showthread.php?tid=190908) |
Is it possible to use xmb core strings id? - realtebo - 2014-03-31 I'll exaplain: I'm providing support for plugin.video.jworg to be launched from shortcut on confluence home screen. Because is will be launched without content_type param [and this is strange, because xmbc knows from where it's started !], the plugin do nothing. I'm writing a simple menu to chosse from audio/video/program feature of my addon. I'd like to reuse OFFICIAl string id, so they're already translated and coherent with xbmc main menu. Is there a way? RE: Is it possible to use xmb core strings id? - ronie - 2014-04-02 http://mirrors.xbmc.org/docs/python-docs/13.0-gotham/xbmc.html#-getLocalizedString RE: Is it possible to use xmb core strings id? - realtebo - 2014-04-02 I know how to get a translated string, but I don't know how to use one of DEFAULT, core, system, strings, like "video", "music", "programs", of the home screen. I need exactly these 3 strings, but I don't know 1. - string id 2. - if it's a good idea to use it in my plugin RE: Is it possible to use xmb core strings id? - Martijn - 2014-04-02 I doubt it would even work for plugins. Second we do not recommend using core strings as they might well change or vanish during development RE: Is it possible to use xmb core strings id? - realtebo - 2014-04-02 Ok, thanks. In last days I already created custom string ids into my plugin, so now I'm happy I've done right. |