The toggle event is "command:music:snap track"
The variable to reduce the time out is "command:xlobby:save to variable:1:snaptrackwait"
If you move the mouse snaptrack does not do anything, kick of a some songs, let them play and it should start moving the playlist when it goes to the next song.
If you hit a muic next button this does not heppen.
Like i said this is by design, it only scrolls the playlist when you are simply "listening" to the tracks.
I use a remote to control xlobby so i dont have to worry about the time outs...
And heres a simple bit of code to shuffle the playlist (it can be tweeked to do nice things like plut played songs at the end off the playlist and try and put good songs near the start.... )
static Random m_Rand = new Random();
/// <summary>
///
/// </summary>
static string GetShufflePosition()
{
return ((long)(m_Rand.NextDouble() * 999999999)).ToString("d10");
}//GetShufflePosition
/// <summary>
///
/// </summary>
static int GetNoEntries(XPluginHelper xhelper, string Category)
{
int NoEntries = 0;
string Text = GetField(xhelper, Category, "position").Trim();
int Pos = Text.LastIndexOf(' ');
if (Pos > 0)
{
if (!int.TryParse(Text.Substring(Pos), out NoEntries))
NoEntries = 0;
}
return NoEntries;
}//GetNoEntries
/// <summary>
///
/// </summary>
static void ShufflePlaylist(XPluginHelper Helper)
{
//HOW IG IS IT?
long Pos = 0;
long NoItems = GetNoEntries(Helper, "playlist");
//LOCK THE SCREEN
Helper.GrabPaintKey();
//RESET THE PLAYLIST
Helper.SendCommand("command:category:reset:playlist");
//RESHUFFLE THE FIRST THEM ALL
for (Pos = 1; Pos <= NoItems; Pos++)
{
//UPDATE IT
Helper.SendCommand("command:category:variable set:playlist:shuffle.pos:" + GetShufflePosition());
//MOVE TO THE NEXT ONE
Helper.SendCommand("command:category:next item:playlist");
}
//SORT IT
Helper.SendCommand("command:category:set sort order:playlist:shuffle.pos");
//FREE THE SCREEN
Helper.ReleasePaintKey();
}//ReshufflePlaylist