[vlc-devel] [RFC][PATCH][BREAKAGE] Playlist simplification

Rafaël Carré funman at videolan.org
Fri Mar 21 19:44:54 CET 2008


On Thu, 2008-03-20 at 23:54 +0100, Jean-Baptiste Kempf wrote:
> On Thu, Mar 20, 2008, Rafaël Carré wrote :
> > I has made some modifications to remove the double tree, in order to
> > avoid present and future memory corruptions due to the fact that each
> > playlist item is stored twice.
> > 
> > That simplifies some playlist functions, remove some ugly hacks.
> > 
> > No segfault so far, but you may lose the flat display.
> Well, I don't like that.

In fact it will be up to the GUI to display the hierarchy or not.
The current GUIs display ONLY hierarchical display, so that'll be a 10
lines of code job.

> If you use VLC to play music, for example, and you add an album, you
> don't have it flat anymore, which is not really a problem to me...
> 
> However, you loose all the functionnalities of sorting by title, author
> duration and other metadatas, like you have in current VLC, and many
> other media players.

Indeed we have a problem to sort flatly, since the internal tree is
categorized, we can only sort the direct children of the root tree.

I have no idea atm how to sort/store a flat display at good speed.

I updated the patches set, skins2/wxwidgets/macosx/upnp should be fixed,
however i didn't try to build them :P

-- 
Rafaël Carré <funman at videolan.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080321/15bb5b3b/attachment.sig>


More information about the vlc-devel mailing list