Finally fixed #72

This commit is contained in:
tidusjar 2016-04-14 14:50:40 +01:00
parent 5352422688
commit 6190eceb60
22 changed files with 320 additions and 94 deletions

View file

@ -53,7 +53,7 @@ namespace PlexRequests.UI
private static Logger Log = LogManager.GetCurrentClassLogger();
static void Main(string[] args)
{
var assetLocation = "assets";
var baseUrl = "assets";
var port = -1;
if (args.Length > 0)
{
@ -65,8 +65,8 @@ namespace PlexRequests.UI
case "base":
i++;
var value = args[i];
Console.WriteLine("Settings URL Base");
assetLocation = value;
Console.WriteLine($"Using a Base URL {args[i]}");
baseUrl = value;
break;
default:
int portResult;
@ -88,7 +88,7 @@ namespace PlexRequests.UI
WriteOutVersion();
var s = new Setup();
var cn = s.SetupDb(assetLocation);
var cn = s.SetupDb(baseUrl);
s.CacheQualityProfiles();
ConfigureTargets(cn);