cd import preferences doesn't save quality change and ogg quality problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Exaile |
Fix Released
|
Medium
|
Unassigned |
Bug Description
exaile rev 3386:
There are 3 problems:
1) Every time you load the CD preferences panel, the quality combo is designed to load defalut values for the active format in the format combo.
2) The quality change are not saved in settings.ini, because was bypassed the method that calls the apply.
3) The Ogg quality raw_step is a float but when it's appended to the combo model it became an int.
My solution to the first 2 points above:
1) Load the default quality value for the active format just when it (the format) is different from the oldvalue.
2) Keep that ovveride, but connect the widget to the combo "changed" signal after the model is cleared, and to avoid the below traceback, which happens when each element of the model is deleted (calling model.clear() ) i disconnect it (if exists) before model.clear().
Traceback (most recent call last):
File "/usr/lib64/
self.apply()
File "/usr/lib64/
value = self._get_value()
File "/usr/lib64/
return model.get_
TypeError: iter must be a GtkTreeIter
For the 3d point the solution would be to make int its raw_steps, but this then requires a migration of settings for older versions.
Related branches
Changed in exaile: | |
status: | Fix Committed → Fix Released |
I get that traceback even with this patch.
I'm not sure i understand the 3rd issue, can you explain it more clearly?