procmail
[Top] [All Lists]

RE: Playing a .wav sound

2009-02-10 18:16:37
LuKreme wrote Tuesday, February 10, 2009 23:56:

On 10-Feb-2009, at 15:01, Rem P Roberti wrote:

    |mplayer ~/Audio/notify.wav

Well, I would not think that a pipe was the way to go

:0
* some conditions
* go here
{ PLAY=`mplayer /path/to/audio/file.wav` }

might work.

The main difference in result between yours and his is that
his will eat (destroy, lose) the message.  If he put a
c-flag on the recipe, though, it would have the same
result as yours.

dman

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>