i wrote a little plugin to give me discite on offs for milkdrop, shuffle etc and it works fine, apart from 1 funny...
i wanted to start xlobby with repeat, shuffle, snap tack all turned un, so i added a call to my plugin in the startup event and xlobby hangs on the starting screen...
i dug a litle deeper and
m_Helper.SendCommand("command:music:repeat:");
m_Helper.SendCommand("command:music:shuffle:");
m_Helper.SendCommand("command:music:snap track:");
All cause xlobby to hang when i call it from the startup event?
The plubin is really simple, they are all varients on -
protected m_Repeat = false;
public void Execute(string command)
{
if (command.StartsWith("repeat"))
{
bool NewValue;
if (!bool.TryParse(command.Substring(6), out NewValue))
NewValue = !m_Repeat;
if (NewValue != m_Repeat)
{
m_Repeat = !m_Repeat;
m_Helper.SendCommand("command:music:repeat:");
}
}
}
Am i doing something stupid?
Cheers, Sean.