Important: Please read the Qt Code of Conduct -

QML PlayList Exit Loop At User Option

  • I would like the user to be able to toggle playlist looping. I can set the "playbackMode" to "Loop", but if the user changes his or her mind and wants to turn "off" looping, I'm stuck. Setting the "playbackMode" to "Sequential", which gives the behavior I want (i.e., the playlist now plays through to the end and stops), but if the user has also selected "Random" to shuffle the playlist, setting the "playbackMode" to "Sequential" nullifies the "Random" playback (and what's the difference between PlayList.shuffle() and playbackMode=Random??).

Log in to reply