02-09-2021, 01:08 PM
Do you mean in Folder view?
The "Play next" function would I think be a challenge to implement for Folder view since whole folders including their subfolders can be added/played as opposed to a group of tracks as in Tag/Album views. One of the things done by the code that implements "Play next" is to first check to see of the group of tracks that have been submitted already exist in the Queue. If they do then no need to add them again.
In Folder view however, a single folder name can be submitted and this could include subfolders. The code would thus need to enumerate all the tracks in the folder and all of its subfolders in order to see if they already exist in the Queue.
The "Play next" function would I think be a challenge to implement for Folder view since whole folders including their subfolders can be added/played as opposed to a group of tracks as in Tag/Album views. One of the things done by the code that implements "Play next" is to first check to see of the group of tracks that have been submitted already exist in the Queue. If they do then no need to add them again.
In Folder view however, a single folder name can be submitted and this could include subfolders. The code would thus need to enumerate all the tracks in the folder and all of its subfolders in order to see if they already exist in the Queue.