[vlc-devel] [PATCH] playlist: swipe away the category / onelevel mess -> singular item storage

Jakob Leben jakob.leben at gmail.com
Mon Feb 1 10:16:59 CET 2010


Hi all!

This is my work towards removing the huge redundancy that the double storage
of items in playlist was imposing ( they were stored twice: in category and
one-level root ).

The first two patches prepare the terrain by allowing for playlist files
(etc.) to be parsed into a flat list without having additional storage in
tree form.

The last patch does the actual work of removing everything connected to
double storage in playlist core, and modifies couple of modules, as needed
for compilation and for things to work. playlist_t still stores aliases to
new root nodes ( both "onelevel" and "category" aliases point to the same )
so most modules can compile without modification. Those modules that still
use old root names have to be modified for cosmetical sake, but also checked
for proper operation.

Please test and comment!

Cheers,

Jakob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100201/9dbc4598/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-playlist-add-new-input-item-events-for-better-playli.patch
Type: text/x-diff
Size: 8042 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100201/9dbc4598/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-update-modules-to-use-input_item_-Begin-End-SubItems.patch
Type: text/x-diff
Size: 23041 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100201/9dbc4598/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-playlist-remove-the-category-onelevel-mess.patch
Type: text/x-diff
Size: 40302 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100201/9dbc4598/attachment-0002.patch>


More information about the vlc-devel mailing list