[vlc-devel] playlist: flat / tree separation

Jakob Leben jakob.leben at gmail.com
Fri Aug 21 16:26:13 CEST 2009


On Fri, Aug 21, 2009 at 4:19 PM, Pierre d'Herbemont
<pdherbemont at gmail.com>wrote:

> For the media_list there is an other object called media_list_view. You can
> have a flat view, or a hierarchical view. Sorted view are not implemented
> though. This is conceptually and practically nice. And it helps to correctly
> layers the different objects.
>
> I think you should offer the same kind of abilities, that is having
> multiple objects to represent the "viewed" playlist.
>
> Pierre.
>

Hmm, I haven't really tried coding with the media_list, so I don't know
exactly how things work there, and what these "view" objects are meant to be
used fot, but I have a doubt that this approach is so conceptually nice: the
doubt concerns exactly the problem I've just put forward about the tree /
list duplication: usually the "viewed" playlist is only the once that is
interacted with, and then again: how do you translate moving an item in this
viewed list to the movement in the underlying tree list?

Cheers, J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090821/013f4bb7/attachment.html>


More information about the vlc-devel mailing list