<div class="gmail_quote">On Thu, Jul 30, 2009 at 10:08 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;">
However, I noticed another weird thing: if the option "Display playlist tree" in "advanced" settings / Playlist is checked, then playlist_TreeMove() moves always to index 0, no matter what index you pass it.</blockquote>
<div> </div><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><div>Does anybody know what the above mentioned option is supposed to do? <br></div>
</blockquote><div> <br></div></div>OK, I realized the option has effect in Media Library view of the playlist.<br><br>But more precisely, the problem with dropping to index 0 instead of requested index happens only when dropping onto root item (which means also moving between items at root level), both in Playlist and MediaPlayer views.<br>
<br>I found out that for some cases playlist_TreeMove() calls TreeMove() a second time, in which case the new position is hardcoded to 0. In which cases exactly this second call needs to happen is beyond my understanding so I would ask somebody else to look into it.<br>