changeset a85ea64c7060 in /home/hg/repos/gajim
author: Yann Leboulanger asterix@lagaule.org branches: details:http://hg.gajim.org/gajim?cmd=changeset;node=a85ea64c7060 description: add paplay to the list of sound players. Fixes #7608
diffstat:
src/gui_interface.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r e6fabc5a3c35 -r a85ea64c7060 src/gui_interface.py --- a/src/gui_interface.py Fri Jan 03 14:17:40 2014 +0400 +++ b/src/gui_interface.py Sun Jan 05 23:03:43 2014 +0100 @@ -2980,9 +2980,11 @@
if gajim.config.get('soundplayer') == '': # only on first time Gajim starts - commands = ('aplay', 'play', 'ossplay') + commands = ('paplay', 'aplay', 'play', 'ossplay') for command in commands: if helpers.is_in_path(command): + if command == 'paplay': + command += ' -n gajim' if command in ('aplay', 'play'): command += ' -q' elif command == 'ossplay':