Hi Phil,

On 4/26/20 11:43 PM, you wrote:
I’ve been looking for something that describes command line options for the 
various RD programs , especially RDAirPlay, but have had limited success. Is 
there someplace I can look to find these options for RDAirPlay and others?

Thanks
_______________________________________________
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


The source code is the definitive place to discern command line options. You can also try "man <COMMAND-NAME>" to see if there's a manual page for the command (spoiler, there isn't one for rdairplay).

For those who haven't navigated the source code, here's a brief introduction. Rivendell is primarily written in the language C++. Most of the stand-alone apps are in their own subdirectory of the top-level source code "tree" (e.g., "rdairplay/"). The "main" subroutine (its name is actually "main" and it is the one in which command line options are handled) is in a file with a base name the same as the subdirectory (e.g., "rdairplay/rdairplay.cpp"; "cpp" is the extension for C++ source code files).

When you view the file (using your favorite text file viewer or editor, or just browsing it on GitHub [https://github.com/ElvishArtisan/rivendell/blob/master/rdairplay/rdairplay.cpp]), look for "RDCmdSwitch", this is the C++ object that is used to interpret and act on command line switches. After locating that string in the file, scroll down to see all the switches and the code that deals with them.

RDAirPlay and most of the other GUI Rivendell apps accept no command line switches. RDLogManager is one of the notable exceptions. The CLI-only commands (like RDImport) are located in the utils/ subdirectory. RDImport is a good example of a command that has a ton of command line switches and also has a thorough manual page explaining all of them).

Hope this helps!

--
  ~David Klann
_______________________________________________
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to