mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-08 05:51:47 -07:00
Changed the default port to 8686
This commit is contained in:
parent
0fbb8c25cc
commit
d0728bbe22
10 changed files with 46 additions and 46 deletions
|
@ -40,7 +40,7 @@ namespace NzbDrone.Automation.Test
|
||||||
_runner.KillAll();
|
_runner.KillAll();
|
||||||
_runner.Start();
|
_runner.Start();
|
||||||
|
|
||||||
driver.Url = "http://localhost:8989";
|
driver.Url = "http://localhost:8686";
|
||||||
|
|
||||||
var page = new PageBase(driver);
|
var page = new PageBase(driver);
|
||||||
page.WaitForNoSpinner();
|
page.WaitForNoSpinner();
|
||||||
|
|
|
@ -49,7 +49,7 @@ namespace NzbDrone.Common.Test
|
||||||
public void GetValue_Success()
|
public void GetValue_Success()
|
||||||
{
|
{
|
||||||
const string key = "Port";
|
const string key = "Port";
|
||||||
const string value = "8989";
|
const string value = "8686";
|
||||||
|
|
||||||
var result = Subject.GetValue(key, value);
|
var result = Subject.GetValue(key, value);
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ namespace NzbDrone.Common.Test
|
||||||
public void GetInt_Success()
|
public void GetInt_Success()
|
||||||
{
|
{
|
||||||
const string key = "Port";
|
const string key = "Port";
|
||||||
const int value = 8989;
|
const int value = 8686;
|
||||||
|
|
||||||
|
|
||||||
var result = Subject.GetValueInt(key, value);
|
var result = Subject.GetValueInt(key, value);
|
||||||
|
@ -95,7 +95,7 @@ namespace NzbDrone.Common.Test
|
||||||
[Test]
|
[Test]
|
||||||
public void GetPort_Success()
|
public void GetPort_Success()
|
||||||
{
|
{
|
||||||
const int value = 8989;
|
const int value = 8686;
|
||||||
|
|
||||||
|
|
||||||
var result = Subject.Port;
|
var result = Subject.Port;
|
||||||
|
|
|
@ -23,7 +23,7 @@ namespace NzbDrone.Console
|
||||||
{
|
{
|
||||||
System.Console.WriteLine("");
|
System.Console.WriteLine("");
|
||||||
System.Console.WriteLine("");
|
System.Console.WriteLine("");
|
||||||
Logger.Fatal(exception.Message + ". This can happen if another instance of Lidarr is already running another application is using the same port (default: 8989) or the user has insufficient permissions");
|
Logger.Fatal(exception.Message + ". This can happen if another instance of Lidarr is already running another application is using the same port (default: 8686) or the user has insufficient permissions");
|
||||||
System.Console.WriteLine("Press enter to exit...");
|
System.Console.WriteLine("Press enter to exit...");
|
||||||
System.Console.ReadLine();
|
System.Console.ReadLine();
|
||||||
Environment.Exit(1);
|
Environment.Exit(1);
|
||||||
|
|
|
@ -134,7 +134,7 @@ namespace NzbDrone.Core.Configuration
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public int Port => GetValueInt("Port", 8989);
|
public int Port => GetValueInt("Port", 8686);
|
||||||
|
|
||||||
public int SslPort => GetValueInt("SslPort", 9898);
|
public int SslPort => GetValueInt("SslPort", 9898);
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ namespace NzbDrone.Integration.Test
|
||||||
|
|
||||||
public override string SeriesRootFolder => GetTempDirectory("SeriesRootFolder");
|
public override string SeriesRootFolder => GetTempDirectory("SeriesRootFolder");
|
||||||
|
|
||||||
protected override string RootUrl => "http://localhost:8989/";
|
protected override string RootUrl => "http://localhost:8686/";
|
||||||
|
|
||||||
protected override string ApiKey => _runner.ApiKey;
|
protected override string ApiKey => _runner.ApiKey;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
@ -159,7 +159,7 @@ namespace NzbDrone.Integration.Test
|
||||||
protected void ConnectSignalR()
|
protected void ConnectSignalR()
|
||||||
{
|
{
|
||||||
_signalRReceived = new List<SignalRMessage>();
|
_signalRReceived = new List<SignalRMessage>();
|
||||||
_signalrConnection = new Connection("http://localhost:8989/signalr");
|
_signalrConnection = new Connection("http://localhost:8686/signalr");
|
||||||
_signalrConnection.Start(new LongPollingTransport()).ContinueWith(task =>
|
_signalrConnection.Start(new LongPollingTransport()).ContinueWith(task =>
|
||||||
{
|
{
|
||||||
if (task.IsFaulted)
|
if (task.IsFaulted)
|
||||||
|
|
|
@ -22,10 +22,10 @@ namespace NzbDrone.Test.Common
|
||||||
public string AppData { get; private set; }
|
public string AppData { get; private set; }
|
||||||
public string ApiKey { get; private set; }
|
public string ApiKey { get; private set; }
|
||||||
|
|
||||||
public NzbDroneRunner(Logger logger, int port = 8989)
|
public NzbDroneRunner(Logger logger, int port = 8686)
|
||||||
{
|
{
|
||||||
_processProvider = new ProcessProvider(logger);
|
_processProvider = new ProcessProvider(logger);
|
||||||
_restClient = new RestClient("http://localhost:8989/api");
|
_restClient = new RestClient("http://localhost:8686/api");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Start()
|
public void Start()
|
||||||
|
|
34
src/UI/.idea/runConfigurations/Debug___Chrome.xml
generated
34
src/UI/.idea/runConfigurations/Debug___Chrome.xml
generated
|
@ -1,21 +1,21 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
<component name="ProjectRunConfigurationManager">
|
||||||
<configuration default="false" name="Debug - Chrome" type="JavascriptDebugType" factoryName="JavaScript Debug" singleton="true" uri="http://localhost:8989">
|
<configuration default="false" name="Debug - Chrome" type="JavascriptDebugType" factoryName="JavaScript Debug" singleton="true" uri="http://localhost:8686">
|
||||||
<mapping url="http://localhost:8989/Calendar" local-file="$PROJECT_DIR$/Calendar" />
|
<mapping url="http://localhost:8686/Calendar" local-file="$PROJECT_DIR$/Calendar" />
|
||||||
<mapping url="http://localhost:8989/MainMenuView.js" local-file="$PROJECT_DIR$/MainMenuView.js" />
|
<mapping url="http://localhost:8686/MainMenuView.js" local-file="$PROJECT_DIR$/MainMenuView.js" />
|
||||||
<mapping url="http://localhost:8989/Settings" local-file="$PROJECT_DIR$/Settings" />
|
<mapping url="http://localhost:8686/Settings" local-file="$PROJECT_DIR$/Settings" />
|
||||||
<mapping url="http://localhost:8989/Upcoming" local-file="$PROJECT_DIR$/Upcoming" />
|
<mapping url="http://localhost:8686/Upcoming" local-file="$PROJECT_DIR$/Upcoming" />
|
||||||
<mapping url="http://localhost:8989/app.js" local-file="$PROJECT_DIR$/app.js" />
|
<mapping url="http://localhost:8686/app.js" local-file="$PROJECT_DIR$/app.js" />
|
||||||
<mapping url="http://localhost:8989/Mixins" local-file="$PROJECT_DIR$/Mixins" />
|
<mapping url="http://localhost:8686/Mixins" local-file="$PROJECT_DIR$/Mixins" />
|
||||||
<mapping url="http://localhost:8989/Wanted" local-file="$PROJECT_DIR$/Wanted" />
|
<mapping url="http://localhost:8686/Wanted" local-file="$PROJECT_DIR$/Wanted" />
|
||||||
<mapping url="http://localhost:8989/Quality" local-file="$PROJECT_DIR$/Quality" />
|
<mapping url="http://localhost:8686/Quality" local-file="$PROJECT_DIR$/Quality" />
|
||||||
<mapping url="http://localhost:8989/Config.js" local-file="$PROJECT_DIR$/Config.js" />
|
<mapping url="http://localhost:8686/Config.js" local-file="$PROJECT_DIR$/Config.js" />
|
||||||
<mapping url="http://localhost:8989/Shared" local-file="$PROJECT_DIR$/Shared" />
|
<mapping url="http://localhost:8686/Shared" local-file="$PROJECT_DIR$/Shared" />
|
||||||
<mapping url="http://localhost:8989/AddSeries" local-file="$PROJECT_DIR$/AddSeries" />
|
<mapping url="http://localhost:8686/AddSeries" local-file="$PROJECT_DIR$/AddSeries" />
|
||||||
<mapping url="http://localhost:8989/HeaderView.js" local-file="$PROJECT_DIR$/HeaderView.js" />
|
<mapping url="http://localhost:8686/HeaderView.js" local-file="$PROJECT_DIR$/HeaderView.js" />
|
||||||
<mapping url="http://localhost:8989" local-file="$PROJECT_DIR$" />
|
<mapping url="http://localhost:8686" local-file="$PROJECT_DIR$" />
|
||||||
<mapping url="http://localhost:8989/Routing.js" local-file="$PROJECT_DIR$/Routing.js" />
|
<mapping url="http://localhost:8686/Routing.js" local-file="$PROJECT_DIR$/Routing.js" />
|
||||||
<mapping url="http://localhost:8989/Controller.js" local-file="$PROJECT_DIR$/Controller.js" />
|
<mapping url="http://localhost:8686/Controller.js" local-file="$PROJECT_DIR$/Controller.js" />
|
||||||
<mapping url="http://localhost:8989/Series" local-file="$PROJECT_DIR$/Series" />
|
<mapping url="http://localhost:8686/Series" local-file="$PROJECT_DIR$/Series" />
|
||||||
<RunnerSettings RunnerId="JavascriptDebugRunner" />
|
<RunnerSettings RunnerId="JavascriptDebugRunner" />
|
||||||
<ConfigurationWrapper RunnerId="JavascriptDebugRunner" />
|
<ConfigurationWrapper RunnerId="JavascriptDebugRunner" />
|
||||||
<method />
|
<method />
|
||||||
|
|
34
src/UI/.idea/runConfigurations/Debug___Firefox.xml
generated
34
src/UI/.idea/runConfigurations/Debug___Firefox.xml
generated
|
@ -1,21 +1,21 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
<component name="ProjectRunConfigurationManager">
|
||||||
<configuration default="false" name="Debug - Firefox" type="JavascriptDebugType" factoryName="JavaScript Debug" singleton="true" engineId="firefox" uri="http://localhost:8989">
|
<configuration default="false" name="Debug - Firefox" type="JavascriptDebugType" factoryName="JavaScript Debug" singleton="true" engineId="firefox" uri="http://localhost:8686">
|
||||||
<mapping url="http://localhost:8989/Calendar" local-file="$PROJECT_DIR$/Calendar" />
|
<mapping url="http://localhost:8686/Calendar" local-file="$PROJECT_DIR$/Calendar" />
|
||||||
<mapping url="http://localhost:8989/MainMenuView.js" local-file="$PROJECT_DIR$/MainMenuView.js" />
|
<mapping url="http://localhost:8686/MainMenuView.js" local-file="$PROJECT_DIR$/MainMenuView.js" />
|
||||||
<mapping url="http://localhost:8989/Settings" local-file="$PROJECT_DIR$/Settings" />
|
<mapping url="http://localhost:8686/Settings" local-file="$PROJECT_DIR$/Settings" />
|
||||||
<mapping url="http://localhost:8989/Upcoming" local-file="$PROJECT_DIR$/Upcoming" />
|
<mapping url="http://localhost:8686/Upcoming" local-file="$PROJECT_DIR$/Upcoming" />
|
||||||
<mapping url="http://localhost:8989/app.js" local-file="$PROJECT_DIR$/app.js" />
|
<mapping url="http://localhost:8686/app.js" local-file="$PROJECT_DIR$/app.js" />
|
||||||
<mapping url="http://localhost:8989/Mixins" local-file="$PROJECT_DIR$/Mixins" />
|
<mapping url="http://localhost:8686/Mixins" local-file="$PROJECT_DIR$/Mixins" />
|
||||||
<mapping url="http://localhost:8989/Wanted" local-file="$PROJECT_DIR$/Wanted" />
|
<mapping url="http://localhost:8686/Wanted" local-file="$PROJECT_DIR$/Wanted" />
|
||||||
<mapping url="http://localhost:8989/Config.js" local-file="$PROJECT_DIR$/Config.js" />
|
<mapping url="http://localhost:8686/Config.js" local-file="$PROJECT_DIR$/Config.js" />
|
||||||
<mapping url="http://localhost:8989/Quality" local-file="$PROJECT_DIR$/Quality" />
|
<mapping url="http://localhost:8686/Quality" local-file="$PROJECT_DIR$/Quality" />
|
||||||
<mapping url="http://localhost:8989/AddSeries" local-file="$PROJECT_DIR$/AddSeries" />
|
<mapping url="http://localhost:8686/AddSeries" local-file="$PROJECT_DIR$/AddSeries" />
|
||||||
<mapping url="http://localhost:8989/Shared" local-file="$PROJECT_DIR$/Shared" />
|
<mapping url="http://localhost:8686/Shared" local-file="$PROJECT_DIR$/Shared" />
|
||||||
<mapping url="http://localhost:8989/HeaderView.js" local-file="$PROJECT_DIR$/HeaderView.js" />
|
<mapping url="http://localhost:8686/HeaderView.js" local-file="$PROJECT_DIR$/HeaderView.js" />
|
||||||
<mapping url="http://localhost:8989" local-file="$PROJECT_DIR$" />
|
<mapping url="http://localhost:8686" local-file="$PROJECT_DIR$" />
|
||||||
<mapping url="http://localhost:8989/Routing.js" local-file="$PROJECT_DIR$/Routing.js" />
|
<mapping url="http://localhost:8686/Routing.js" local-file="$PROJECT_DIR$/Routing.js" />
|
||||||
<mapping url="http://localhost:8989/Controller.js" local-file="$PROJECT_DIR$/Controller.js" />
|
<mapping url="http://localhost:8686/Controller.js" local-file="$PROJECT_DIR$/Controller.js" />
|
||||||
<mapping url="http://localhost:8989/Series" local-file="$PROJECT_DIR$/Series" />
|
<mapping url="http://localhost:8686/Series" local-file="$PROJECT_DIR$/Series" />
|
||||||
<RunnerSettings RunnerId="JavascriptDebugRunner" />
|
<RunnerSettings RunnerId="JavascriptDebugRunner" />
|
||||||
<ConfigurationWrapper RunnerId="JavascriptDebugRunner" />
|
<ConfigurationWrapper RunnerId="JavascriptDebugRunner" />
|
||||||
<method />
|
<method />
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-sm-4 col-sm-pull-1">
|
<div class="col-sm-4 col-sm-pull-1">
|
||||||
<input type="number" placeholder="8989" name="port" class="form-control"/>
|
<input type="number" placeholder="8686" name="port" class="form-control"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue