Quick Sign In:  

Forum: VirtualDJ Plugins

Topic: load song,get song title,load playlist

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

kokaiPRO InfinityMember since 2005
Hi all,

can someone help me i want to perform a few actions via a plugin.(i.e GetParam and send command)

1) get the current playing deck and the song title.

2) load a song by file name to the first place in the song queue(playlist).

3) load a playlist.

10x alot in advance.
 

Posted Mon 29 Aug 05 @ 7:15 pm
djcelPRO InfinityModeratorMember since 2004
1)
"get the current playing deck": it is not possible. Otherwise here is some data:
//--------------------------
#define PLUGIN_DECK 0
#define LEFT_DECK 1
#define RIGHT_DECK 2
//--------------------------
int Deck;
GetParam(PLUGIN_DECK,"CurrentDesk",&Deck);
//-------------------------------------------

"song title":
//------------------------------
char title[100]; // maybe it's too little
GetParam(PLUGIN_DECK,"Title",&title);
//-----------------------------------

2) impossible: dev team should add a parameter for browser_toplaylist() for that (for example: if value \<0 load to the first place)
3) impossible, there is no function to load a song from a filename
 

Posted Wed 31 Aug 05 @ 8:23 am
How do I write this Char[100] array of characters to a registry key or to a file ?
Is there a C++ command to convert a char[] array to a string ? It doesn't seem to work...

I would like to write the current playing songs (names or filename) to a registry key, so i can access it with a better or easier programming language like vb.

thx,

Doc.
 

Posted Tue 06 Sep 05 @ 8:22 pm


(Old topics and forums are automatically closed)