Quick Sign In:  

Forum: VirtualDJ Plugins

Topic: Automix playlist

This topic is old and might contain outdated or incorrect information.

We want to control the playlist that inside the Automix feature.
We would like to:
1.Get the playlist.
2.Control the order the songs in the playlist.
3.Get the current song that is playing.

We couldn't find how to do it in the SDK.

Which functions in the API should we use?

Thanks in advance,

Gal
 

Posted Wed 05 Aug 15 @ 2:40 pm
SBDJPRO Infinity Member since 2006
All the information you need is in the SDK - the commands to interface with VDJ are GetInfo and SendCommand. These make use of the VDJScript language.

1. You can't 'get the playlist' as such via the SDK. You could try reading the relevant m3u in the playlists folder, otherwise you'd have to focus on the panel and iterate through each file, getting it's info as you go which is a horrible solution.

2. There is no easy way to do this.

3. GetInfo() with the relevant request will get you the song that is playing, alternatively you could monitor the history files.
 

Posted Wed 05 Aug 15 @ 4:43 pm


(Old topics and forums are automatically closed)