-
Notifications
You must be signed in to change notification settings - Fork 20
Custom Sources
andrum99 edited this page Jul 2, 2021
·
3 revisions
Custom sources can be added using the InputSources.xml
file: each source is selectable from the control point.
Parameters
GPIO_PIN: Intended to support external source switching, that is, sources that are present on a device external to the computer on which MediaPlayer is running. The GPIO_PIN will be asserted when the source is selected, and the external switching device is expected to select the corresponding source.
START_SCRIPT: Script to run to set up the source. This can be used to start internal sources, that is, sources located on the computer which MediaPlayer is running on.
STOP_SCRIPT: Script which is run when the source is deselected. Any internal source should be switched off or muted using this script.