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: Accessing Playlist Queue (Read 2430 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Accessing Playlist Queue

Within play_callback_static::on_playback_new_track, how can I establish whether the current track came from the dynamic Playlist Queue, as opposed to directly from whatever playlist it was originally Queue'd from?

ALSO - what is the prefered method of adding a track to the Queue, and are there any special considerations in environments where other plugins may be accessing the Queue?

Accessing Playlist Queue

Reply #1
1. As far as I know you can't.

2. Use playlist_manager::queue_add_item() or queue_add_item_playlist().

Accessing Playlist Queue

Reply #2
1. As far as I know you can't.

Ah, well. Thanks for the info anyway. At my level, afaUk is indistinguishable from FACT, so I guess I'll just have to find a workaround...