<div class="gmail_quote">On Tue, Aug 18, 2009 at 12:17 AM, Jakob Leben <span dir="ltr"><<a href="mailto:jakob.leben@gmail.com">jakob.leben@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div id=":wd" class="ii gt">So....... the first things I see as a must to implement is:<br>
1. revert PLModel::flags() behavior to how it was before and strictly distinguish nodes from non-nodes (check playlist_item_t->i_children > -1).<br>2. enable spontaneous creation of nodes and node renaming through GUI (but NOT turning a leaf into a node, only in case of demuxer discovering sub-items does this make sense, I don't see a case when it would make sense as an user's spontaneous action)<br>
3. implement read-only property for nodes (no renaming of node, no inserting, removing and moving children allowed, reordering only by sorting). Apply this read-only property to all but Media Library and Playlist. _Maybe_ impose some restrictions also to individual nodes inside Media Library (so that nodes are strict representation of directories for example)</div>
</blockquote></div><br>I sent a patch which completes the task number 1. ( [PATCH] Qt4: correct the check whether item is node )<br>