Right now it is impossible (using the metadata API) to get metadata from a FLAC stream unless it is a file on the local disk (AFAICS). It would be useful if there was another interface level that could provide read-only access to metadata by providing the data via a read callback. This would allow metadata to be read from remote locations and in streaming situations. BTW, right now I am adding support for reading and writing vorbiscomment tags to Rhythmbox. Josh
--- Joshua Haberman <joshua@reverberate.org> wrote:> Right now it is impossible (using the metadata API) to get metadata > from > a FLAC stream unless it is a file on the local disk (AFAICS). It > would > be useful if there was another interface level that could provide > read-only access to metadata by providing the data via a read > callback. > This would allow metadata to be read from remote locations and in > streaming situations.all decoders have a metadata callback that gets called for each metadata block. by default the decoder only calls it for the STREAMINFO block but you can tell the decoder to return others with FLAC__stream_decoder_set_metadata_respond/ignore_*() calls. see the relevant paragraph near the bottom of the detailed description here: http://flac.sourceforge.net/api/group__flac__stream__decoder.html#_details Josh __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com