It all started when…
A movie was being watched using Kodi and a ‘What Did They Say?’ moment happened. Since the movie had some dialog in a foreign language, forced subtitles in english were enabled. To figure out what was just said was a multi-step process: pause the movie, switch subtitles to english, rewind the movie, watch and READ it, and then switch back to forced subtitles.
This addon does it all with one button press!
configuration…
Rewind time: range 0 to 60 seconds - how much to rewind in seconds
Keep subtitle on longer than rewind time : range 0 to 60 seconds - subtitles will stay on for all of rewind time plus this amount in seconds
SDH: on/off - prefer subtitle for deaf and hard of hearing
Subtitle forced: options - if forced subtitle is encountered then find subtitle with selected language preference
Subtitle disabled: options - if subtitle is off then turn on either selected subtitle as long as it is not forced or find subtitle with selected language preference
HOWTO…
Click on links for further help.
Install wadeysay addon via Kodi Add-on repository
From within Kodi -> Add-ons -> Install from repository -> Program add-ons -> wadeysay
Configure action:
Simple method:
Use another addon to configure which input key/button launches wadeysay addon.
install Keymap Editor via Kodi Add-on repository
From within Kodi -> Add-ons -> Install from repository -> Program add-ons -> Keymap Editor
run the addon
click through Edit -> Fullscreen Video -> Add-ons -> Launch wadeysay -> Edit key
5 seconds to press desired input key/button
keep going back and then click on Save
Complex method:
Manually edit xml file that determines input key/button behavior.
instructions for modifying keymap files
addon name script.wadeysay
sample entry for key id 61536 - replace as necessary:
<keymap>
<fullscreenvideo>
<keyboard>
<key id="61536">runaddon(script.wadeysay)
</key>
</keyboard>
</fullscreenvideo>
</keymap>