add paplay to the list of sound players. Fixes #7608

This commit is contained in:
Yann Leboulanger 2014-01-05 23:03:43 +01:00
parent 720a67c859
commit 7e1fc336cb
1 changed files with 3 additions and 1 deletions

View File

@ -2980,9 +2980,11 @@ class Interface:
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':