public override void Execute(IPlayer player, params string[] parameters) { if (parameters.Length == 1) { ConsoleUtils.UOut(ConsoleColor.Red, "You didn't enter a song id. use like this : (/listsongs 213)"); return; } string songid = parameters[1]; try { Song sg = Subsonic.GetSong(songid); if (sg == null) { ConsoleUtils.UOut(ConsoleColor.Red, "unable to add song -> song result was null"); } else { player.AddSong(sg); } } catch (Exception e) { //todo log ConsoleUtils.UOut(ConsoleColor.Red, "unable to add song"); } }