Autoplay HTTP-stream

  • Hi,

    I tried googling around a little bit, but can't find a solution for my problem.

    I want to setup Kodi so it automatically opens a HTTP-stream.

    I found how to do that by making a "autoexec.py"-file.

    While this should work, I need a backup method.

    If the HTTP-stream does not output video, switch to alternative stream.

    Wonder why I want to do this?

    I have a streaming box that can input HDMI or CVBS, both will be used depending on the situation, so when HDMI is not in use I would like Kodi to automatically switch to the alternate CVBS HTTP-stream.
    I need Kodi to be standalone, no interaction required from the user.