Ticket #736 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

soundplayer not set

Reported by: anonymous Owned by: nk
Priority: normal Milestone: 0.8
Component: preferences Version: 0.8
Severity: normal Keywords:
Cc: Blocked By:
OS: Blocking:

Description

soundplayer is not set on first start.

Attachments

Change History

Changed 5 years ago by nk

  • owner changed from asterix to nk

code I wrote:

		player = gajim.config.get('soundplayer')
		if player == '': # only on first time Gajim starts
			commands = ('esdplay', 'artsplay', 'aplay', 'play')
			for command in commands:
				if helpers.is_in_path(command):
					self.xml.get_widget('soundplayer_entry').set_text(command)
					gajim.config.set('soundplayer', command)
					break

so it's empty if nothing is none of those executalbe is in PATH. Do you have any of those commands in path?

do which command

Changed 5 years ago by asticot@…

I have esdplay command, and the new code with gajim.config.set('soundplayer', command) work.

Changed 5 years ago by nk

  • milestone set to 0.8

it should be fixed now. sorry

Changed 5 years ago by nk

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

Add/Change #736 (soundplayer not set)

Author


E-mail address and user name can be saved in the Preferences.


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