Restart hyperion with different json configuration

  • Hi,


    I would like to be able to switch between different json configuration files.
    When I try it I always end up with the error of "JSONSERVER ERROR: could not bind to port".
    If I try different port, then it end up in a mess of different "servers".


    Every file that is executed is some kind of this file:


    Bash
    #!/bin/sh
    sudo systemctl stop hyperion.service 2>/dev/null
    sleep 1
    kodi-send -a "Notification(Hyperion Info,Ambilight für TV aktiviert,7000,http://powerpi.de/wp-content/uploads/powerpi/powerpi_ambi_thumb_kodi.jpg)"
    sudo /usr/bin/hyperiond /etc/hyperion/hyperion.config.tv.json
    </dev/null >/dev/null 2>&1 &
  • I get further,


    but now I can't start an instance with external grabber (logilink). I receive this error:

    Code
    terminate called after throwing an instance of 'std::runtime_error'
      what():  V4L2GRABBER ERROR: Cannot identify '/dev/video0' ERROR 2, No such file or directory


    Hiw can I check if my external grabber is working.
    In the past days I have managed to start the external grabber, so it is already proven that it works.

  • OK I solved it. I changed the usb slot and video0 was recognized.
    If having same issue as myself, than just try ls /dev and see if video0 is listed. If not than just switch usb slot for the grabber and check again.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!