Starting and Stopping Radio by script

  • Hi everybody,

    I thought about creating a script that I can connect with Raspberry's GPIO to start and stop Radio playback with a button.
    Problem is I have no idea if and how it is possible to control LE and Add Ons via script.

    Any ideas?
    Thanks!

    Holgi