Updated Add Series

This commit is contained in:
kay.one 2011-07-27 15:59:48 -07:00
parent 68321c98d0
commit b4fb3002a4
38 changed files with 1339 additions and 867 deletions

View file

@ -1,5 +1,6 @@
using System;
using System.Diagnostics;
using System.Net;
using System.Threading;
using System.Timers;
using Exceptioneer.WindowsFormsClient;
@ -38,7 +39,18 @@ namespace NzbDrone
Attach();
#endif
if (Environment.UserInteractive)
if (!Environment.UserInteractive)
{
try
{
new WebClient().DownloadString(IISController.AppUrl);
}
catch (Exception e)
{
Logger.ErrorException("Failed to load home page.", e);
}
}
else
{
try
{