Skip to content
Dag Wieers edited this page Sep 7, 2019 · 9 revisions

InputStream Helper consists of a library and a script. The script accepts arguments (API) you can use from your add-on to make it perform certain actions. The different actions are found in the main plugin entry source code: https://github.com/emilsvennesson/script.module.inputstreamhelper/blob/master/lib/inputstream/api.py

This API is included in v0.4.2

Possible actions include:

Interface Arguments Added since
Open settings
settings
Check installation check_inputstream,<protocol>
check_inputstream,<protocol>,<drm>
InputStream information info
(Re)install Widevine CDM widevine_install
Remove Widevine CDM widevine_remove

If you would like to have InputStream Helper install the latest Widevine CDM, you can run:

RunScript(script.module.inputstreamhelper,widevine_install)

If you would like to check the installation for DRM playback, you can run:

RunScript(script.module.inputstreamhelper,check_inputstream,mpd,widevine)

If you would like to get information about your system, you can run:

RunScript(script.module.inputstreamhelper,info)
Clone this wiki locally