On May 4, 2022, at 11:42, Nick Andre <[email protected]> wrote:
> tldr: is there any way to tell what cart RDAirPlay is currently playing? It
> seems like I can grep the syslog, but just wondering if there's some other
> more expedient way.
>
> We implemented remote broadcasting for our radio station using some basic
> bash and MySQL procedures. Essentially after all is said and done, the script
> will send RML to Rivendell
> <https://github.com/WMFO/wmfo-covid-broadcasting-script/blob/master/fade-rd-show.sh>
> to load a particular cart to the queue along with a certain announcement and
> then start the show. Looks like this:
>
> rmlsend PX\ 1\ 3004\! #This is the WMFO shows pre-recorded announcement, will
> push to top
> sleep 1
> rmlsend PN\ 1\! #press play next (second track in queue or first if not
> running), which should fade out existing track
> sleep 1
> rmlsend PX\ 1\ 999996\!
> sleep 1
> rmlsend PX\ 1\ $cart\! # queue up specified show
>
> Sometimes a live DJ will ignore instructions and load a new log, canceling
> playback. I would like to programmatically illuminate if this has happened.
Sounds like you need a PyPAD script.
http://opsguide.rivendellaudio.org/html/chapter.pad.html#sect.pad.pypad
<http://opsguide.rivendellaudio.org/html/chapter.pad.html#sect.pad.pypad>
These can be used to send notifications whenever the state of a log changes in
RDAirPlay.
Cheers!
|---------------------------------------------------------------------|
| Frederick F. Gleason, Jr. | Chief Developer |
| | Paravel Systems |
|---------------------------------------------------------------------|
| Life would be so much easier if we could just look at the source |
| code. |
| |
| -- Anonymous |
|---------------------------------------------------------------------|_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev