Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Get/set selected playback_flow_control? (Read 2392 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Get/set selected playback_flow_control?

Is there already a way in the 0.7 API to query and change which playback_flow_control is selected? I can't find it, but if the UI can do it, it should be somewhere, eh? If not, I'd love to see it added. (I guess this is related to steel_space's query.)

I'm trying to write an "Enqueue next" plugin that lets you interrupt the normal playlist flow to play selected songs, then go back to what would ordinarily have played instead afterward. playback_flow_control is exactly what I needed to do that. (I had a version that did it by manipulating the playlist, but my user would rather it not mess up his nicely sorted playlist.) I'd like it to work with both normal and shuffled play, so I figured you'd leave it in your preferred mode, then selecting the "Enqueue next" menu item would change flow control over to my plugin, which would change the flow setting back after the queued songs play.