Phil,

On Mon, Apr 27, 2020 at 11:30 AM Phil Biehl <fylbe...@gmail.com> wrote:

> Thanks for the clarification David. Since there are no command line
> options for RDAirPlay then let me be more specific in what I’m looking for.
> I have a fully automated application where I would like to have RDAirPlay
> start playing the current log at startup. This is to recover from a power
> failure.
>
> Is there a way to do this?
>

Yes, there is a way to do this, or to get close enough to doing it what we
are happy with the results.

Back in January I asked for help in getting my 2.x aolution updated for 3.x:

http://caspian.paravelsystems.com/pipermail/rivendell-dev/2020-January/028507.html

I don't have time to give more helpful advice right now, hopefully someone
else will be able to make it easy for you, if not, hopefully following that
thread will give you what you need. If not, look for me later.

all the best,

drew

>
> Phil
>
> > On Apr 27, 2020, at 6:21 AM, David Klann <dkl...@linux.com> wrote:
> >
> > 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
> _______________________________________________
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


-- 
Enjoy the *Paradise Island Cam* playing
*Bahamian Or Nuttin* - https://www.paradiseislandcam.com/
_______________________________________________
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to