Philip Meyer;507301 Wrote: > > Looking further through the code, there is at least one global variable > (list of songs returned from MIP for the seed, with historic songs > removed), which means the plugin is unsafe when more than one player has > SugarCube enabled. This needs to either be passed around through > function calls, or hold a list of songs per-client.
Can you release your revised code for review and explain your comments regarding unsafe. I assume you refering to the unique array? Which is used temporarily during the selection and then wiped once the track is selected. I think it would be pretty impressive if this caused an issue in use but happy to be proved wrong. Cheers -- cparker www.spicefly.com - Visit for an enhanced Interface for MusicIP and integration tips and tricks, Plugin coding tips, Spicefly SugarCube the MIP AutoDJ plugin and SpiceyWeather an animated weather forecast plugin! ------------------------------------------------------------------------ cparker's Profile: http://forums.slimdevices.com/member.php?userid=2083 View this thread: http://forums.slimdevices.com/showthread.php?t=73988 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
