On 2013-01-10 14:38, Oliver Joos <oliver joos hispeed ch> wrote:
Am Sonntag, den 06.01.2013, 16:02 +0000 schrieb David King:I think that a check button (GtkCheckButton) would be better. For any value other than 0 or 1 you could either set the button to the "inconsistent" state: http://developer.gnome.org/gtk3/stable/GtkToggleButton.html#gtk-toggle-button-set-inconsistent or default to unsetting the field. Logging a warning if such out-of-range values are encountered might be a good idea.Agreed. But please allow to unset this field! Perhaps "tri-state" is possible with a standard GtkCheckButton: False - True - Inconsistent Otherwise I would prefer a ComboBox.
EasyTAG does not currently have a way to unset individual tags from the UI, other than by removing all the text in a field.
And the TCMP tag should be unset (non-existent) by default! I guess for ITunes TCMP=0 is equal to TCMP tag missing. But for other apps/devices problems could arise, if EasyTAG would add TCMP=0 to every ID3 header by default. Many non-ITunes music collections do not have/need a TCMP tag.
According to the description on id3.org, if the flag is unset then it is treated as if the file is not part of a compilation, so it should be fine to make "not in a compilation" equivalent to unsetting the field.
-- http://amigadave.com/
Attachment:
pgpxKs3iTte5O.pgp
Description: PGP signature