Ticket #3566 (closed defect: fixed)

Opened 11 months ago

Last modified 3 months ago

error sound with first start

Reported by: anonymous Owned by: anonymous
Priority: normal Milestone: 0.12
Component: preferences Version:
Severity: minor Keywords:
Cc: OS: Unix

Description

when i first started gajim, sounds don't work but when i go to the menu and play some sound sounds are functionally

Attachments

Change History

Changed 11 months ago by anonymous

  • owner changed from asterix to anonymous
  • os changed from All to Unix
  • status changed from new to assigned
  • component changed from None to preferences
  • priority changed from normal to high

Changed 11 months ago by asterix

  • priority changed from high to normal

was it on first startup? Does it work now?

do you have sound enabled in preference window? What is your configured soundplayer? does it work if you try to run it in a console: "PLAYER /usr/share/gajim/data/sounds/message1.wav"?

If you run Gajim in a console do you see an error at the moment Gajim is supposed to play a sound?

Changed 4 months ago by Jim++

  • severity changed from normal to minor
  • milestone set to 0.12

it's because

if player == '': # only on first time Gajim starts
	commands = ('aplay', 'play', 'esdplay', 'artsplay')
	for command in commands:
		if helpers.is_in_path(command):
			if command == 'aplay':
				command += ' -q'
			gajim.config.set('soundplayer', command)
			break

is only done first time we open prefs. It should be done before, but I have some import problems trying to moving it from src/config.py to src/common/gajim.py

Changed 3 months ago by asterix

  • status changed from assigned to closed
  • resolution set to fixed

(In [9906]) detect sound player on first start as soon as gajim is started, not first time we open preferences window. Fixes #3566

Add/Change #3566 (error sound with first start)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.