Ogg kfile-plugin should respect the hints

Carsten Pfeiffer carpdjih at mailbox.tu-berlin.de
Tue Dec 31 14:24:35 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----

On Tuesday 31 December 2002 14:20, Ismael Orenstein wrote:

> The problem is that the ogg kfile-plugin doesn't use all of this hints. At
> least it doesn't use the Author and Name ones. I know that the Ogg format
> gives enough freedom so that any key can be used (instead of mp3 id3, which
> has a fixed field for the artist and name). However, some keys are
> standardized by the vorbis spec... shouldn't the hint point to these keys
> at least?
[...]
> It is just a matter of adding, near line 78 of kfile_ogg.cpp, something
> like that:
>
> item = addItemInfo(group, "Artist", i18n("Artist"), QVariant::String);
> setHint(item, KFileMimeTypeInfo::Author);
>
> item = addItemInfo(group, "Title", i18n("Title"), QVariant::String);
> setHint(item, KFileMimeTypeInfo::Name);

Added, thanks. Please point out any other problems you may find.

Cheers
Carsten Pfeiffer
-----BEGIN PGP SIGNATURE-----

iQEVAwUBPhGoo6WgYMJuwmZtAQFdSAf/eg//i0MeIfQKLGLHahEHVYinr3JRv9HF
ZSECkxA/DlQw0NtJ3xX2xA+YdPRMdpB+CwC7Cy3XZw9lNyAMyw3BJjdkGva3w4zz
Fz35nF+X9XUeltWvlD2l8a1NSG2MyarHDacPPDVicaBSQ4+KKyqiCM/X8NL5S5H2
qWKSAbseJ0+h/of8P39h2UY26P1mWKmx8ZkSCJkRRcRyBr3IUuVZaw1ID3zvgq41
iARvcuzuiSgIBnl5rlkayHCVTbaPu1WkZ5iuOFqwMMtdBXu+zJH6L9yfkJtxZRaH
ONakGz80aslpR3uZQvnGManLAc+NGD8+Tzx3wcUycZXwEw0r7ETh/w==
=igK2
-----END PGP SIGNATURE-----



More information about the kde-multimedia mailing list