[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

* 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.


procmail mailing list   Procmail homepage:

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