On Wed, Oct 06, 2010 at 07:25:24AM +0200, Max Kellermann wrote: > On 2010/10/05 22:29, Magras <magras-...@yandex.ru> wrote: > > Reason why I want to add ability to select encoding for id3v2 is > > real life. In Russia at least one third of mp3 files has id3v2 tags > > with text encoding set to "ISO_8859-1" (0x00), but text stored in > > CP1251 (1-byte cyrillic encoding). > > You want to support files with wrong charset declarations. Why not > fix the ID3v2 tags in the first place? They are obviously broken! I encountered a similar problem (UTF8 declared as ISO8859-1) due to my tagging software.
I also did not want to touch the data, but when the data is wrong, you can only correct the data, not the player. I created some tools (specifically addressing my problem) on http://www.ecirc.net/software/tags.html with special support to increment timestamps just with 1 second, to notify MPD it has changed, but not to loose the timestamp at all. It may serve as an example. Kurt ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team