[vlc-devel] playlist: flat / tree separation

Pierre d'Herbemont pdherbemont at gmail.com
Fri Aug 21 17:15:38 CEST 2009


On Aug 21, 2009, at 4:26 PM, Jakob Leben wrote:

> 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

Well, so the MVC model isn't 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?


This is not specified. It's up to the view to decide how to actually  
translate this to the model, or not.

Pierre.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090821/4e8eb58a/attachment.html>


More information about the vlc-devel mailing list