Skip to content
Snippets Groups Projects
Commit 8eda02a2 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

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

parent b8409a01
No related branches found
No related tags found
No related merge requests found
......@@ -3010,9 +3010,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':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment