[vlc-devel] Re: libcddb added, playlist interface - disappointing

Sigmund Augdal sigmunau at stud.ntnu.no
Sun Nov 30 20:38:12 CET 2003


> What's weird is that the un"simplified" routine,  playlist_AddExt() 
> sets the "Author" field to the null string. And although there is a
> parameter in playlist_AddExt called "duration", it doesn't appear in
> the wxwindows GUI. It does appear in the GTK GUI, and although the
> CD-DA plugin sets the duration value correctly, the GTK GUI doesn't read
> this and shows "no info." In other words, no matter which interface you
> use no matter how many fields you carefully set, what you'll see in
> the playlist is is an extra column that is useless.
This information is nearly never parsed in vlc so the wxwindows gui have
decided to hide that column. The gtk interface on the other hand haven't
been updated since this was included in the api and just puts "no info"
reguardless. I have a patch for the gtk interface to set this properly, and
could commit it if anyone wants it. In the wxwindows case it is just a
matter of uncommenting a few lines.

> Actually that's not completely true, because one could create a
> routine similar to playlist_AddExt that takes an "Author" parameter
> and uses it to set the "Author" field. But why then have
> playlist_AddExt at all?
One could actually add a author parameter to playlist_AddExt. Then we could
stop exporting playlist_AddItem because the usage of that is really nasty.

> 
> And where does one show general information about a CD-DA, like the
> Title of the CD, Category, Genre, Year and so on? 
Look at input_InfoCategory() and input_AddInfo() here:
http://developers.videolan.org/vlc/vlc/doc/doxygen/html/input__ext-plugins_8h.html#a28
http://developers.videolan.org/vlc/vlc/doc/doxygen/html/input__ext-plugins_8h.html#a29
These will show up in View->File info... and this is the right place for
such information in my opinion.

Sigmund

-- 
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