Page 1 of 1

FLAC picture data length

Posted: Fri Jul 17, 2009 4:25 pm
by DazBYorks
Hi,

Please could the following be officially added in module.audio.flac.php after;

Code: Select all

        $picture['image_data'] = substr($meta_data_block_data, $offset, $length);
        $offset += $length;

Code: Select all

        $picture['data_length'] = strlen($picture['image_data']);
Daz

Re: FLAC picture data length

Posted: Mon Jul 20, 2009 11:39 am
by James Heinrich
It's a trivial thing to get it at runtime if you need that value, but hey, why not. Consider it added to the next release.

Re: FLAC picture data length

Posted: Wed Jul 22, 2009 9:14 am
by DazBYorks
Hi,

Thanks. It is trivial, but the addition makes it consistent(ish) with ID3.

Daz