2.0.0-b4 bug in id3v2 detection

Locked
andig
User
Posts:12
Joined:Fri Oct 12, 2007 12:55 pm
2.0.0-b4 bug in id3v2 detection

Post by andig » Fri Oct 12, 2007 1:10 pm

Dumping the $getid3->info I've found that the id3v2 tags are missing the last character, while id3v1 tags are handled fine. Consequently, the tags end up in the comments array with last character missing:

Code: Select all

    [tags] => Array
        (
            [id3v1] => Array
                (
                    [title] => Array
                        (
                            [0] => Mann Gegen Mann
                        )

                    [artist] => Array
                        (
                            [0] => Rammstein
                        )

                    [album] => Array
                        (
                            [0] => Schattenreich Vol.4
                        )

                    [year] => Array
                        (
                            [0] => 2007
                        )

                    [track] => Array
                        (
                            [0] => 218
                        )

                    [genre] => Array
                        (
                            [0] => Gothic Rock
                        )

                )

            [id3v2] => Array
                (
                    [language] => Array
                        (
                            [0] => Englis
                        )

                    [artist] => Array
                        (
                            [0] => Rammstei
                        )

                    [album] => Array
                        (
                            [0] => Schattenreich Vol.
                        )

                    [band] => Array
                        (
                            [0] => Rammstei
                        )

                    [title] => Array
                        (
                            [0] => Mann Gegen Man
                        )

                    [encoded_by] => Array
                        (
                            [0] => LAME 3.9
                        )

                    [track] => Array
                        (
                            [0] => 21
                        )

                    [year] => Array
                        (
                            [0] => 200
                        )

                    [text] => Array
                        (
                            [0] => -10.30 dB
                        )

                    [genre] => Array
                        (
                            [0] => Gothic Roc
                        )

                )

        )

Allan Hansen
getID3() v2 developer
Posts:445
Joined:Sun May 04, 2003 2:22 pm
Location:Holmegaard, Denmark

Post by Allan Hansen » Fri Oct 12, 2007 3:39 pm


andig
User
Posts:12
Joined:Fri Oct 12, 2007 12:55 pm

Post by andig » Fri Oct 12, 2007 3:50 pm

Great support, thanks. Is there a CVS archive available I could use to work with latest version?

Thanks,
Andi

andig
User
Posts:12
Joined:Fri Oct 12, 2007 12:55 pm

Post by andig » Fri Oct 12, 2007 3:51 pm


andig
User
Posts:12
Joined:Fri Oct 12, 2007 12:55 pm

Post by andig » Fri Oct 12, 2007 4:35 pm

Sorry for posting so many times but need to ask again- the link mentioned only contained viewcvs access. Is there also a CVS or SVN server available for anonymous checkout?
I'd be happy to contribute by testing fixes or supplying detailed debug information.

Thanks,
Andreas

Allan Hansen
getID3() v2 developer
Posts:445
Joined:Sun May 04, 2003 2:22 pm
Location:Holmegaard, Denmark

Post by Allan Hansen » Fri Oct 12, 2007 6:23 pm

Affraid not.

However very little actual work has been done since beta4 due to lack of time. Only one minor change to extension.cache.mysql.php.

Locked