[vlc-devel] Re: How is CD-Text (or CDDB, Musicbrainz) supposed to work with the new infrastructure?

Gildas Bazin gbazin at altern.org
Tue Aug 24 13:30:04 CEST 2004


On Tuesday 24 August 2004 13:08, Clément Stenac wrote:
> Hello,
> 
> Glad to see that we might have an improved CD plugin back
> 
> > However I'm at at a loss of how an access plugin can fill in CD-DA
> > meta information such as obtained via CD-Text, CDDB, or
> > Musicbrainz.. The same would be true for a VCD plugin to fill in its
> > meta information (VCD title, volume number and number of volumes in
> > collection)
> 
> You can use p_input->input.p_item and store meta information here (not
> sure if you are allowed to use input_Control( INPUT_ADD_INFO ) in an
> access module)
> 
...
> 
> > Looking at demux/mkv.cpp, I see that meta information is requested
> > from it; why not from access plugins? Also looking at vlc_meta.h I see
> > many VLC_META information relevant to CD-DA or VCD, but there are also
> > a number missing. (On the other hand, if there's no way to set any of
> > this
> > then I guess the point is moot.)
> 

I also think it would be worth adding a META control to access modules as it 
is done with demux ones. Makes things much more clean IMHO.

> Anyway, isn't your plugin an access+demux ? there is a new type of
> modules: access_demux that you could use (look at v4l for example)
> 

The cdda plugin needs to stay a simple access plugin simply because we still 
need to be able to play DTS/AC3 audio CDs. Which means we need to be able 
to use at least 3 different demux plugins with it (wav/dts/a52).

--
Gildas

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list