internal void updateScrapStats(string seedStr, string leechStr, string finishedStr)
{
try
{
Seeders = int.Parse(seedStr);
Leechers = int.Parse(leechStr);
}
catch(Exception)
{
Seeders = -1;
Leechers = -1;
}
// if (seedLabel.InvokeRequired)
// {
// updateScrapCallback d = new updateScrapCallback(updateScrapStats);
// Invoke(d, new object[] { seedStr, leechStr, finishedStr });
// }
// else
// {
seedLabel.Text = "Seeders: " + seedStr;
leechLabel.Text = "Leechers: " + leechStr;
scrapStatsUpdated = true;
// AddLogLine("Scrap Stats Updated" + "\n" + "\n");
// }
}