mirror of https://github.com/Radarr/Radarr
Fix various typos
Found via `codespell -q 3` (cherry picked from commit 209a250079fdf7ad2bc9168f81bfb45b9531d6b3)
This commit is contained in:
parent
119cdf6f09
commit
260fb88f85
|
@ -32,7 +32,7 @@
|
||||||
.contentContainer {
|
.contentContainer {
|
||||||
z-index: $popperZIndex;
|
z-index: $popperZIndex;
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
/* 400px container witdh with 8px padding on each side */
|
/* 400px container width with 8px padding on each side */
|
||||||
width: 384px;
|
width: 384px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -167,7 +167,7 @@ class SignalRConnector extends Component {
|
||||||
const resource = body.resource;
|
const resource = body.resource;
|
||||||
const status = resource.status;
|
const status = resource.status;
|
||||||
|
|
||||||
// Both sucessful and failed commands need to be
|
// Both successful and failed commands need to be
|
||||||
// completed, otherwise they spin until they timeout.
|
// completed, otherwise they spin until they timeout.
|
||||||
|
|
||||||
if (status === 'completed' || status === 'failed') {
|
if (status === 'completed' || status === 'failed') {
|
||||||
|
|
|
@ -47,7 +47,7 @@ namespace NzbDrone.Common.Test.Http
|
||||||
// Use mirrors for tests that use two hosts
|
// Use mirrors for tests that use two hosts
|
||||||
var candidates = new[] { "httpbin1.servarr.com" };
|
var candidates = new[] { "httpbin1.servarr.com" };
|
||||||
|
|
||||||
// httpbin.org is broken right now, occassionally redirecting to https if it's unavailable.
|
// httpbin.org is broken right now, occasionally redirecting to https if it's unavailable.
|
||||||
_httpBinHost = mainHost;
|
_httpBinHost = mainHost;
|
||||||
_httpBinHosts = candidates.Where(IsTestSiteAvailable).ToArray();
|
_httpBinHosts = candidates.Where(IsTestSiteAvailable).ToArray();
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@ namespace NzbDrone.Common.EnvironmentInfo
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
_logger.Warn(ex, "Coudn't set app folder permission");
|
_logger.Warn(ex, "Couldn't set app folder permission");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -123,7 +123,7 @@ namespace NzbDrone.Common.Instrumentation.Sentry
|
||||||
_debounce = new SentryDebounce();
|
_debounce = new SentryDebounce();
|
||||||
|
|
||||||
// initialize to true and reconfigure later
|
// initialize to true and reconfigure later
|
||||||
// Otherwise it will default to false and any errors occuring
|
// Otherwise it will default to false and any errors occurring
|
||||||
// before config file gets read will not be filtered
|
// before config file gets read will not be filtered
|
||||||
FilterEvents = true;
|
FilterEvents = true;
|
||||||
SentryEnabled = true;
|
SentryEnabled = true;
|
||||||
|
|
|
@ -260,7 +260,7 @@ namespace NzbDrone.Common.OAuth
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Creates a request elements concatentation value to send with a request.
|
/// Creates a request elements concatenation value to send with a request.
|
||||||
/// This is also known as the signature base.
|
/// This is also known as the signature base.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <seealso href="http://oauth.net/core/1.0#rfc.section.9.1.3"/>
|
/// <seealso href="http://oauth.net/core/1.0#rfc.section.9.1.3"/>
|
||||||
|
|
|
@ -215,7 +215,7 @@ namespace NzbDrone.Common
|
||||||
|
|
||||||
if (dacls.Contains(authenticatedUsersDacl))
|
if (dacls.Contains(authenticatedUsersDacl))
|
||||||
{
|
{
|
||||||
// Permssions already set
|
// Permissions already set
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,7 @@ namespace NzbDrone.Core.Datastore
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Visits the memeber access expression. To be implemented by user.
|
/// Visits the member access expression. To be implemented by user.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="expression"></param>
|
/// <param name="expression"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
|
|
|
@ -108,7 +108,7 @@ namespace NzbDrone.Core.DecisionEngine
|
||||||
private int ComparePeersIfTorrent(DownloadDecision x, DownloadDecision y)
|
private int ComparePeersIfTorrent(DownloadDecision x, DownloadDecision y)
|
||||||
{
|
{
|
||||||
// Different protocols should get caught when checking the preferred protocol,
|
// Different protocols should get caught when checking the preferred protocol,
|
||||||
// since we're dealing with the same movie in our comparisions
|
// since we're dealing with the same movie in our comparisons
|
||||||
if (x.RemoteMovie.Release.DownloadProtocol != DownloadProtocol.Torrent ||
|
if (x.RemoteMovie.Release.DownloadProtocol != DownloadProtocol.Torrent ||
|
||||||
y.RemoteMovie.Release.DownloadProtocol != DownloadProtocol.Torrent)
|
y.RemoteMovie.Release.DownloadProtocol != DownloadProtocol.Torrent)
|
||||||
{
|
{
|
||||||
|
|
|
@ -141,7 +141,8 @@ namespace NzbDrone.Core.Download.Clients.Transmission
|
||||||
|
|
||||||
private TransmissionResponse GetSessionVariables(TransmissionSettings settings)
|
private TransmissionResponse GetSessionVariables(TransmissionSettings settings)
|
||||||
{
|
{
|
||||||
// Retrieve transmission information such as the default download directory, bandwith throttling and seed ratio.
|
// Retrieve transmission information such as the default download directory, bandwidth throttling and seed ratio.
|
||||||
|
|
||||||
return ProcessRequest("session-get", null, settings);
|
return ProcessRequest("session-get", null, settings);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,8 @@ namespace NzbDrone.Core.Extras.Metadata
|
||||||
|
|
||||||
foreach (var possibleMetadataFile in filterResult.FilesOnDisk)
|
foreach (var possibleMetadataFile in filterResult.FilesOnDisk)
|
||||||
{
|
{
|
||||||
// Don't process files that have known Subtitle file extensions (saves a bit of unecessary processing)
|
// Don't process files that have known Subtitle file extensions (saves a bit of unnecessary processing)
|
||||||
|
|
||||||
if (SubtitleFileExtensions.Extensions.Contains(Path.GetExtension(possibleMetadataFile)))
|
if (SubtitleFileExtensions.Extensions.Contains(Path.GetExtension(possibleMetadataFile)))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
|
|
|
@ -93,7 +93,7 @@ namespace NzbDrone.Core.ImportLists
|
||||||
|
|
||||||
if (excludedMovie != null)
|
if (excludedMovie != null)
|
||||||
{
|
{
|
||||||
_logger.Debug("{0} [{1}] Rejected due to list exlcusion", report.TmdbId, report.Title);
|
_logger.Debug("{0} [{1}] Rejected due to list exclusion", report.TmdbId, report.Title);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,7 @@ namespace NzbDrone.Core.Notifications.Mailgun
|
||||||
const string body = "This is a test message from Radarr, though Mailgun.";
|
const string body = "This is a test message from Radarr, though Mailgun.";
|
||||||
|
|
||||||
_proxy.SendNotification(title, body, Settings);
|
_proxy.SendNotification(title, body, Settings);
|
||||||
_logger.Info("Successsfully sent email though Mailgun.");
|
_logger.Info("Successfully sent email though Mailgun.");
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|
|
@ -37,7 +37,7 @@ namespace NzbDrone.Core.Notifications.Emby
|
||||||
[FieldDefinition(3, Label = "API Key", Privacy = PrivacyLevel.ApiKey)]
|
[FieldDefinition(3, Label = "API Key", Privacy = PrivacyLevel.ApiKey)]
|
||||||
public string ApiKey { get; set; }
|
public string ApiKey { get; set; }
|
||||||
|
|
||||||
[FieldDefinition(4, Label = "Send Notifications", HelpText = "Have MediaBrowser send notfications to configured providers", Type = FieldType.Checkbox)]
|
[FieldDefinition(4, Label = "Send Notifications", HelpText = "Have MediaBrowser send notifications to configured providers", Type = FieldType.Checkbox)]
|
||||||
public bool Notify { get; set; }
|
public bool Notify { get; set; }
|
||||||
|
|
||||||
[FieldDefinition(5, Label = "Update Library", HelpText = "Update Library on Import, Rename or Delete?", Type = FieldType.Checkbox)]
|
[FieldDefinition(5, Label = "Update Library", HelpText = "Update Library on Import, Rename or Delete?", Type = FieldType.Checkbox)]
|
||||||
|
|
|
@ -77,7 +77,7 @@ namespace NzbDrone.Core.Notifications.Twitter
|
||||||
using (var reader = new StreamReader(responseStream))
|
using (var reader = new StreamReader(responseStream))
|
||||||
{
|
{
|
||||||
var responseBody = reader.ReadToEnd();
|
var responseBody = reader.ReadToEnd();
|
||||||
_logger.Trace("Reponse: {0} Status Code: {1}", responseBody, httpResponse.StatusCode);
|
_logger.Trace("Response: {0} Status Code: {1}", responseBody, httpResponse.StatusCode);
|
||||||
throw new TwitterException("Error received from Twitter: " + responseBody, ex);
|
throw new TwitterException("Error received from Twitter: " + responseBody, ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,7 +80,7 @@ namespace NzbDrone.Host
|
||||||
|
|
||||||
case ApplicationModes.RegisterUrl:
|
case ApplicationModes.RegisterUrl:
|
||||||
{
|
{
|
||||||
_logger.Debug("Regiser URL selected");
|
_logger.Debug("Register URL selected");
|
||||||
_remoteAccessAdapter.MakeAccessible(false);
|
_remoteAccessAdapter.MakeAccessible(false);
|
||||||
_appFolderFactory.SetPermissions();
|
_appFolderFactory.SetPermissions();
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<TargetFrameworks>net6.0</TargetFrameworks>
|
<TargetFrameworks>net6.0</TargetFrameworks>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<!--
|
<!--
|
||||||
The netstandard veresion here doesn't work in net framework
|
The netstandard version here doesn't work in net framework
|
||||||
See https://github.com/xamarin/XamarinComponents/issues/282
|
See https://github.com/xamarin/XamarinComponents/issues/282
|
||||||
-->
|
-->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<!--
|
<!--
|
||||||
The netstandard veresion here doesn't work in net framework
|
The netstandard version here doesn't work in net framework
|
||||||
See https://github.com/xamarin/XamarinComponents/issues/282
|
See https://github.com/xamarin/XamarinComponents/issues/282
|
||||||
-->
|
-->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
Loading…
Reference in New Issue