I ran into something similar and found that I had to use full paths in
my script.

So in your exmple, it might need:

/usr/bin/amixer set ADC,0 30-
/usr/bin/amixer set ADC,1 30- 

Or reference the location of amixer

Might also need to do the full path on rmlsend, sleep, etc.


> 
> I'm trying to run a shell command to control the fade up/down on a delta 
> 44 card.  System is Centos 5.1, Rivendell v2.10.4.
> 
> ...
> amixer set ADC,0 30-
> amixer set ADC,1 30-
> rmlsend PS\ 1!
> rmlsend PM\ 3!
> rmlsend ST\ 0\ 1\ 1!
> sleep .5
> amixer set ADC,0 5+
> amixer set ADC,1 5+
> ...
> 
> Running the script from a command line, all works fine, but the macro 
> from RDAirplay, RDPannel, or RDLibrary the rmlsend entries execute but 
> the amixer entries are ignored.  I have added rivendell to the audio 
> group, set the script and all folders to rd:users, 755 then 777.  The 
> amixer program is set to root:root, 755.
> I've also tried macros with SG, SL, & SX with no success.
> 
> I have run out of ideas, any help would be appreciated.
> Thanks,<hr>_______________________________________________
> 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

Reply via email to