Hi Steven. Thanks for your time and work, I really appreciate it.
what if you select a file then decide you dont want it play, and you want the default next to play.
The "Playback follows cursor" is a toggle which you can activate or deactivate at any time. If you don't want it to skip to the song you've selected you either disable the toggle OR you select the current playing song.
When the current playing song is selected it defaults to the normal behavior.
So it seems to me with this option enabled you are forced to keep selecting the next file or stuck having to wait until the current song has finished before being able to select another file
Actually it is not at all like this. When nothing or the current song is selected as the next song it defaults to the normal playing behavior(play next, shuffle, repeat...) and what's very important it should automatically select that song so it doesn't go in a loop. You are not forced to select anything next.
Also to keep in mind is that when you make a selection it should not queue that song directly. Only queue it to play next when the current playing song has actually finished. There must be some way to bind this method in the event when a song completes.
Also the selection should only be one selected song and not multiple, foobar automatically picks the last selected song if there are multiple selected.
To write it down in simple to understand code(i made up the names):
if(song_selected && song_selected != song_finished){
queueNext(song_selected);
}
doNormalBehavior();
selectCurrentSong(); // So it doesn't play in a loop
I hope it's clear to you now.