Hi There,
I’m trying to map the subtitle window with different languages choice to a key.
I have read http://kodi.wiki/view/List_of_Built_In_Functions, Window_IDs (wiki) I even went to github. but I can’t seem to find it.
What I have so far is:
<FullscreenVideo>
<keyboard>
<f>FastForward</f>
...
<menu>OSD</menu>
<i>Info</i>
<d>ActivateWindow(subtitlesearch)</d>
<d mod="longpress">Subtitledelay</d>
<e>ActivateWindow(osdaudiosettings)</e>
<e mod="longpress">NextSubtitle</e>
<c>ActivateWindowAndFocus(10124,9000)</c>
<o>PlayerProcessInfo</o>
....
I’m struggling with the <c>ActivateWindowsAndFocus line this doesn’t open the list I want to open.
I started logging and below is the logging output.
I hope somebody can help me thanks in advance
Guy
14:21:06.000 T:12860 DEBUG: Activating window ID: 11101
14:21:06.000 T:12860 DEBUG: —— Window Init (Custom_1101_SettingsList.xml) ——
14:21:06.000 T:12860 INFO: Loading skin file: Custom_1101_SettingsList.xml, load type: KEEP_IN_MEMORY
14:21:07.242 T:8236 DEBUG: CVideoPlayer::ProcessSubData: Got complete SPU packet
14:21:08.246 T:12860 DEBUG: CInputManager::ProcessMouse: trying mouse action leftclick
14:21:08.246 T:12860 DEBUG: Activating window ID: 10124
14:21:08.246 T:12860 DEBUG: —— Window Init (DialogSettings.xml) ——
14:21:08.246 T:12860 INFO: Loading skin file: DialogSettings.xml, load type: KEEP_IN_MEMORY
14:21:08.249 T:12860 DEBUG: CSettingsManager: requested setting (audio.volume) was not found.
14:21:08.249 T:12860 DEBUG: CSettingsManager: requested setting (audio.volumeamplification) was not found.
14:21:08.249 T:12860 DEBUG: CSettingsManager: requested setting (audio.delay) was not found.
14:21:08.249 T:12860 DEBUG: CSettingsManager: requested setting (audio.stream) was not found.
14:21:08.249 T:12860 DEBUG: CSettingsManager: requested setting (audio.outputtoallspeakers) was not found.
14:21:08.249 T:12860 DEBUG: CSettingsManager: requested setting (audio.digitalanalog) was not found.
14:21:08.249 T:12860 DEBUG: CSettingsManager: requested setting (subtitles.enable) was not found.
14:21:08.249 T:12860 DEBUG: CSettingsManager: requested setting (subtitles.delay) was not found.
14:21:08.249 T:12860 DEBUG: CSettingsManager: requested setting (subtitles.stream) was not found.
14:21:08.249 T:12860 DEBUG: CSettingsManager: requested setting (subtitles.browser) was not found.
14:21:08.249 T:12860 DEBUG: CSettingsManager: requested setting (audio.makedefault) was not found.
14:21:09.240 T:8236 DEBUG: CVideoPlayer::ProcessSubData: Got complete SPU packet
14:21:11.323 T:12860 DEBUG: Previous line repeats 1 times.
14:21:11.323 T:12860 DEBUG: CInputManager::ProcessMouse: trying mouse action leftclick
14:21:11.323 T:12860 DEBUG: —— Window Init (DialogSelect.xml) ——
14:21:11.630 T:8236 DEBUG: CVideoPlayer::ProcessSubData: Got complete SPU packet
14:21:15.816 T:12860 DEBUG: Previous line repeats 1 times.
14:21:15.816 T:12860 DEBUG: CInputManager::ProcessMouse: trying mouse action leftclick
14:21:16.066 T:12860 DEBUG: —— Window Deinit (DialogSelect.xml) ——
14:21:16.073 T:8236 DEBUG: CDVDInputStreamNavigator::SetActiveSubtitleStream – id: 2, stream: 2
14:21:16.073 T:8236 NOTICE: Closing stream player 3