Playing tree playlist stops at the end of a branch when Auto start is disabled and the next branch has not been not unfolded
Assume that the "Auto start" playlist option is disabled and "Display playlist tree" is enabled. Consider a playlist with at least two branches. Something like:
<?xml version="1.0" encoding="utf-8"?>
<playlist xmlns="http://xspf.org/ns/0/" version="1">
<trackList>
<track>
<location>file:///.../file1.xspf</location>
<title>file1</title>
</track>
<track>
<location>file:///.../file2.xspf</location>
<title>file2</title>
</track>
</trackList>
</playlist>
Open the playlist. For file1, select its last item. Once it is played, VLC stops instead of going on with file2. This problem doesn't occur when the "Auto start" playlist option is enabled (default). It doesn't occur either if file2 was unfolded (by double-clicking on it) before playing the last item of file1.
I can reproduce this bug both with Debian's vlc 2.2.1-2+b1 package and with the source from https://github.com/videolan/vlc.git.