[vlc-devel] Re: cddax vs cdda plugins

Sigmund Augdal sigmunau at stud.ntnu.no
Wed Dec 8 09:07:04 CET 2004


On Tue, Dec 07, 2004 at 11:35:26PM -0500, R. Bernstein wrote:
> I've been trying to get the libcdio cddax plugin working better. 
> 
> In the Wxwindow interface, the time played and length of a track or
> disk don't appear down in the status at the bottom left. They do for
> cdda and I believe this was working once for cddax. As a result of
> this, I guess seeking is broken in cddax. My understanding is this is
> now done via the pf_control callback a ACCESS_GET_TITLE_INFO request,
> and one copies length in milliseconds for each track.
> 
> Also in the cdda navigation menu lists all of the tracks and on can go
> next/prev to them while in cddax none are listed and I really don't
> know how to get this working either.
Currently the cdda plugin uses the old dvd-tracks trick to add it's track.
The cddax plugin should not do that. Rather if you play the entire cd (with
cddax://) the plugin should run playlist_ItemToNode on it's playlist item,
and then playlist_NodeAddItem() for each track on the cd. Now information
about the entire cd (like album name, data ...) can be added to the node,
and info about each track can be added to that tracks item. (I think only
name and duration are supported now, but that should be improved in the
future).

For each track the duration is fetched with the ACCESS_GET_LENGTH command to
pf_control. 


> 
> Is there some sort of document overview document of how to write a
> complete input access plugin? 

No there isn't. But feel free to ask here any time.


Sigmund

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list