protected virtual void NewSong(System.Object sender, libLastRip.SongEventArgs args) { Console.WriteLine("}"); //libLastRip.MetaInfo Info = (libLastRip.MetaInfo)Args; //Get length of the track //System.Int32 TrackLength = System.Convert.ToInt32(System.Convert.ToInt32(Info.Trackduration)); //Console.WriteLine("TrackLength: " + TrackLength.ToString()); Console.Write("{"); timeout = 0; }
protected virtual void Error(System.Object sender, libLastRip.ErrorEventArgs args) { Console.WriteLine("}"); Console.WriteLine("# ERROR #"); this.working = false; }