FLAC 1.1.3 picture metadata

What features would you like to see in future versions of getID3() ?
Post Reply
WaldoMonster
getID3() contributor
Posts: 112
Joined: Mon Apr 01, 2002 12:20 am
Location: Netherlands
Contact:

FLAC 1.1.3 picture metadata

Post by WaldoMonster » Sun Oct 15, 2006 10:30 pm

When official released (now version 1.1.3 beta 1) it would be great to retrieve picture metadata.
(similar to APIC frame in ID3V2)

http://flac.cvs.sourceforge.net/*checko ... ef_PICTURE
http://www.hydrogenaudio.org/forums/ind ... opic=49182

Thanks,

Willem

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

Post by Allan Hansen » Mon Oct 16, 2006 8:36 am

On the todo list for 2.0.0 final.

WaldoMonster
getID3() contributor
Posts: 112
Joined: Mon Apr 01, 2002 12:20 am
Location: Netherlands
Contact:

Post by WaldoMonster » Mon Oct 16, 2006 7:23 pm

Good to hear it will be implemented.

I read different requirements on the site and readme.txt file.
Will the 2.0.0 final support PHP 4.1 or not?

readme.txt
PHP 4.1.0 (or higher)

http://www.getid3.org/
v2.0.0-b3 requires PHP 5.0.0 or newer

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

Post by Allan Hansen » Mon Oct 16, 2006 7:25 pm

getID3() 2.0.0 final will require PHP 5.0.0 or newer.

The version requirement in readme.txt applies to version 1.x only.

WaldoMonster
getID3() contributor
Posts: 112
Joined: Mon Apr 01, 2002 12:20 am
Location: Netherlands
Contact:

Post by WaldoMonster » Mon Oct 16, 2006 7:27 pm

Thanks for the quick answer.

WaldoMonster
getID3() contributor
Posts: 112
Joined: Mon Apr 01, 2002 12:20 am
Location: Netherlands
Contact:

Post by WaldoMonster » Sun Dec 03, 2006 11:35 pm


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

Post by Allan Hansen » Sun Dec 03, 2006 11:39 pm

And picture support has been implemented in getID3() 2.0.0b4 - will be released shortly.

WaldoMonster
getID3() contributor
Posts: 112
Joined: Mon Apr 01, 2002 12:20 am
Location: Netherlands
Contact:

Post by WaldoMonster » Tue Dec 05, 2006 7:57 am

Thanks Allan.
Are there any plans to also implement it in the 1.x release?

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

Post by Allan Hansen » Wed Dec 06, 2006 12:15 am

WaldoMonster wrote:Thanks Allan.
Are there any plans to also implement it in the 1.x release?
No. But any bright developer with an hour or two to spare can back port it and mail it to us.

WaldoMonster
getID3() contributor
Posts: 112
Joined: Mon Apr 01, 2002 12:20 am
Location: Netherlands
Contact:

Post by WaldoMonster » Fri Jul 20, 2007 12:02 pm

For APIC images I only have to enable:

Code: Select all

$getID3->option_tag_id3v2	= true; // Read and process ID3v2 tags.
$getID3->option_tags_images	= true; // Scan tags for binary image data - ID3v2 and vorbiscomments only.
Witch options must be enabled for flac pictures?
When using the above options I only get this array returned:

Code: Select all

(
    [GETID3_VERSION] => 2.0.0b4
    [filesize] => 14327824
    [avdataoffset] => 0
    [avdataend] => 14327824
    [mime_type] => audio/x-flac
)
Thanks for the help,

Willem

WaldoMonster
getID3() contributor
Posts: 112
Joined: Mon Apr 01, 2002 12:20 am
Location: Netherlands
Contact:

Post by WaldoMonster » Fri Jul 20, 2007 8:56 pm

I found the answer myself, with trial and error.
The minimal options that are needed for both retrieving APIC and PICTURE images is:

Code: Select all

$getID3->option_tag_id3v2   = true; // Read and process ID3v2 tags.
$getID3->option_analyze     = true; // Analyze file - disable if you only need to detect file format.
$getID3->option_tags_images = true; // Scan tags for binary image data - ID3v2 and vorbiscomments only.

Post Reply