What is correct syntax for command line?

Home Forums Forum English (EN) What is correct syntax for command line?

  • This topic contains 2 replies, has 2 voices, and was last updated by  A. Black 1 year, 7 months ago.
  • Author
    Posts
  • #11710

    Roelof

    I’d like SWYH to select my renderer automatically at start-up. But what is the correct command line syntax?

    I’ve created a shortcut on my desktop with this command in it:

    "C:\Program Files (x86)\Stream What You Hear\SWYH.exe" "-streamto:Kodi (OpenELEC)"
    

    But it doesn’t seem to work. I’m expecting the device to be ticked in the right click menu, but it’s not. I’ve tried several different ways, with and without quotes and strings like ‘Kodi’ or ‘OpenELEC’.

    Can you help?

    #11715

    Sébastien Warin
    Keymaster

    "C:\Program Files (x86)\Stream What You Hear\SWYH.exe" --streamto:"Kodi (OpenELEC)"

    Where “Kodi (OpenELEC)” is the name of your renderer.

    Best,

    #11717

    A. Black

    The –streamto flag is great. I will be able to simplify startup substantially using that.

    Searching the source I also noticed that there exists a –restart flag.

    Flags for other SWYH functions would be greatly appreciated as well.

  • You must be logged in to reply to this topic.
Posted in