[vlc-devel] [PATCH] QT4 playlist: even better DragNDrop policy

Jean-Baptiste Kempf jb at videolan.org
Tue Aug 11 18:19:20 CEST 2009


Hello,

On Tue, Aug 11, 2009 at 05:34:01PM +0200, Jakob Leben wrote :
> Well, eventually somebody will have to start somewhere, I guess. Any plans
> on when to start porting? How ready and how complete is the new libvlc
> anyway? As much as I "surfed" and "deciphered" the current vlc code, the vlc
> executable itself already uses libvlc, and on the other hand libvlc uses
> some of the current code (like input_item_t - withing libvlc_media_t). Will
> eventually the external api consist only of what is inside include/vlc, so
> that for example input_item_t will not be dealt with from outside at all?
> 
> I'm offering myself to code at least the Qt4 media list model using new
> libvlc. Doesn't seem to me too hard a job and I've got very aquanted with
> Qt4 model/view architecture by now. What do you say?

I don't think this is the good solution.

 - libvlc is very limited compared to a libvlccore module.
 - Having more than 1 interface (Qt+Web) is nice.

However, I have to say, that the playlist code in Qt is utter crap, and
this is partly because noone took care about it (zorglub never finished
and I never wanted to enter this mess) and partly because Qt MVC is way
too complex.

So, some work in very welcome on this part, especially, if we want to
introduce new Views (for Cover browsing), even rewriting the whole
playlist widget; but I doubt porting the whole Qt GUI to libvlc is
doable and not a waste of time.


Best Regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/



More information about the vlc-devel mailing list