<div dir="ltr">i spent some time testing the changes and it seems like my assumption was wrong. the player does not always start with element 0 when a loop is completed.<div><br></div><div>when you hit the next button on the player the action is handled via the request mechanism - because of this shuffling the playlist won't assure all titles are played before the next shuffle occurs because it does not start with element 0.</div>
<div><br></div><div>i created a "better" patch which fixes the shuffle issue if you let vlc play without hitting the next button. it will play all elements in the playlist once, than shuffle the list and play ever element once again in a different order before shuffling the list again ....</div>
<div><br></div><div>hitting the next button will result in the same behavior we currently have.</div><div><br></div><div>i attach the diff to this message, please have a look and tell me whether i should create another thread on the mailing list?</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 30, 2013 at 12:37 PM, Jean-Baptiste Kempf <span dir="ltr"><<a href="mailto:jb@videolan.org" target="_blank">jb@videolan.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 30 Sep, Alex Warhawk wrote :<br>
</div><div class="im">> i think so, ResetCurrentlyPlaying shuffles the whole playlist array. the<br>
> lines i added are only executed when the current element is the last<br>
> element in this playlist. it therefore shuffles again and starts playing at<br>
> element 0 if loop is activated.<br>
<br>
</div>It would be nice if someone could test.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Jean-Baptiste Kempf<br>
<a href="http://www.jbkempf.com/" target="_blank">http://www.jbkempf.com/</a> - <a href="tel:%2B33%20672%20704%20734" value="+33672704734">+33 672 704 734</a><br>
Sent from my Electronic Device<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a><br>
</div></div></blockquote></div><br></div>