offlineimap.conf: fix a typo in the new mail hook example

Also add --play-and-stop since if vlc is being used with the loop option, at the
same time that cvlc is executed, the sound will play endlessly.

Signed-off-by: Matthew Krafczyk <krafczyk.matthew@gmail.com>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Matthew Krafczyk 2015-09-26 10:48:51 +02:00 committed by Nicolas Sebrecht
parent d367fb9f42
commit 839d0201be
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ remoterepository = RemoteExample
#
# This feature is experimental.
#
#newmail_hook = lambda: os.sytem("cvlc --play-and-exit /path/to/sound/file.mp3" +
#newmail_hook = lambda: os.system("cvlc --play-and-stop --play-and-exit /path/to/sound/file.mp3" +
# " > /dev/null 2>&1")