Bitmessage/PyBitmessage — pull request #303 by fuzzgun (2013-07-15 16:09:42+00:00)
Title: Play sounds when messages arrive

Optionally sounds may be played upon connection or disconnection and when new messages arrive. Messages can be customised per contact, similar to ring tones.

By default no sounds are played. To add your own sounds create a "sounds" directory within ~/.config/PyBitmessage

~/.config/PyBitmessage/sounds/connected.wav - play when connected
~/.config/PyBitmessage/sounds/green.wav - play when connection turns green
~/.config/PyBitmessage/sounds/disconnected.wav - play if disconnected
~/.config/PyBitmessage/sounds/known.wav - play when receiving a message from a known contact
~/.config/PyBitmessage/sounds/unknown.wav - play when receiving a message from an unknown contact

If you have a contact called "Alice Jones" then creating a file called:

~/.config/PyBitmessage/sounds/Alice Jones.wav

Will play that sound when you receive messages from that particular contact. You can also use mp3 files instead of wav files.