Gotcha. On Sat, Feb 7, 2015 at 9:23 PM, Jim Hartranft <[email protected]> wrote:
> drew Roberts <zotzbro@...> writes: > > > > > > > > > > > > > > > > > I am not sure I understand your > question. > > The actual rlm modules and the > configs for the same live in different > places on my system. They possibly > could live in the same place, but that > might lead to confusion if you were > rushing one day and not paying careful > attentions. > > Once again, my config in rdadmin > is:/usr/lib/rivendell/rlm_filewrite.rlm > /etc/rivendell/rlm/rlm_filewrite.conf > > so as you can see, the actual rlm > lives in:/usr/lib/rivendell/ (this is > how the thing comes configured from the > tryphone repos.) > > while my conf lives > in:/etc/rivendell/rlm/ > > all the best,drew > > > > > > On Fri, Feb 6, 2015 at 9:14 PM, Jim > Hartranft <musicmaker10- > [email protected] > > wrote: > > drew Roberts <zotzbro <at> ...> > writes: > > > > > > > > > Hey Jim, > > > there are probably too many ways to > > do it. > > > On Thu, Feb 5, 2015 at 10:30 PM, > JimHartranft <musicmaker10 > <at>dejazzd.com> wrote:Hi, I am trying > to > > output the now and > > > next data to a file that can be > > updated > > > on our website.. > > > > > > The rlm_filewrite is what you want > to > > get the needed data into a file on > the > > rivendell machine. > > > > > > rdadmin->manage hosts->select and > > edit host->rdairplay->configure now & > > next parameters->add a loadable > module > > > > > > my config here > > > is:/usr/lib/rivendell/rlm_filewrite.rlm > > /etc/rivendell/rlm/rlm_filewrite.conf > > > > > > Some sample > > /etc/rivendell/rlm/rlm_filewrite.conf > > entries: > [File2]Filename=/var/www/html/bon/cural > b/album.txtAppend=0;FormatString=Now > > playing on Bahamian Or Nuttin %t by > > %aFormatString=AlbumArt > > > %cEncoding=0MasterLog=YesAux1Log=NoAux2 > Log=No[File3]Filename=/var/www/html/bon > /curalb/playing.txtAppend=0FormatString > > =Now playing on Bahamian Or Nuttin %t > > by %a;FormatString=AlbumArt > > > %cEncoding=0MasterLog=YesAux1Log=NoAux2 > Log=No[File4]Filename=/home/rduser/.sng > > > dataAppend=0FormatString=%t\n%a\n%g\nEn > > > coding=0MasterLog=YesAux1Log=NoAux2Log= > No > > > > > > In case it is not clear, I am > writing > > 3 different files there. (I could > > probably just write one but this is > an > > experimental box and this just sort > of > > developed as I was experimenting with > > different things. > > > > > > Now that you have the needed data > in > > a file on the local machine, there > are > > also probably too many ways to get it > > to the web server. Are you good with > > that or would you like further help? > > (One hint is that while you are > > configuring now and next in rdadmin, > > add an RML entry along these lines:RN > > /home/rduser/webupdate.sh 1! > > > > > > > > > and then let that script sleep foir > a > > bit to let the file finish writing > and > > then let it send the file to the web > > host. > > > > > > My example are only dealing with > the > > Now and not the Next. It is just a > > matter of case though. > > > > > > %t = title of now > > > > > > %T = title of next > > > > > > iirc, I have not done any next in > > years. > > > > > > > > > > > > The site is hosted off > > > site, built with HTML. Is there a > way > > > to place the now and next info into > a > > > script or something to update on > the > > > website? Nothing fancy, maybe just > > "Now > > > Playing: X" "Coming Up: Y" > > > Thanks > > > > > > _______________________________________ > > ________ > > > Rivendell-dev mailing > listRivendell- > > dev <at> > > > lists.rivendellaudio.orghttp://caspian. > paravelsystems.com/mailman/listinfo/riv > > endell-dev > > > > > > > > > -- http://nakedghosts.blogspot.com/ > > > > > > > > > > > > > > > _______________________________________ > > ________ > > > Rivendell-dev mailing list > > > Rivendell-dev <at> ... > > > >http://caspian.paravelsystems.com/mail > m > > an/listinfo/rivendell-dev > > > > > So should I have both the rlm and > conf > > separate or have the conf in the spot > > next to the the rlm? > > > > > _______________________________________ > ________ > > Rivendell-dev mailing listRivendell- > dev <at> > lists.rivendellaudio.orghttp://caspian. > paravelsystems.com/mailman/listinfo/riv > endell-dev > > > > > > > > -- http://nakedghosts.blogspot.com/ > > > > > > > > > _______________________________________ > ________ > > Rivendell-dev mailing list > > Rivendell-dev@... > > > http://caspian.paravelsystems.com/mailm > an/listinfo/rivendell-dev > > > > I understand that, I mean in RDAdmin, > in the 'configure Now&Next' menu, when > I add an rml, there is also a spot for > something else.. Is that where I put > the path for the.conf? So, when you are adding an RML there, it asks for: Plugin Path: Argument: And in mine I have: /usr/lib/rivendell/rlm_filewrite.rlm /etc/rivendell/rlm/rlm_filewrite.conf So in the Argument area you put the path to the conf file you created. (As you can see, the complete path including the file name itself.) > I am a little > confused as to what to do with that. I > believe I have the .conf written > correctly (I used your third example > that you gave me). It should be > exporting to /home/rd. I am using the > Centos Appliance version FYI. > I hope this gers you sorted. > _______________________________________________ > Rivendell-dev mailing list > [email protected] > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev > drew -- http://nakedghosts.blogspot.com/
_______________________________________________ Rivendell-dev mailing list [email protected] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
