Fix various typos
Found via `codespell -q 3 -S ./Emby.Server.Implementations/Localization -L allready,doesnt,inh,receivedfrom,whoknows`
This commit is contained in:
parent
8ba83e41ae
commit
9ec2870b10
|
@ -446,7 +446,7 @@ namespace Emby.Dlna.Didl
|
|||
/// </summary>
|
||||
/// <remarks>
|
||||
/// If context is a season, this will return a string containing just episode number and name.
|
||||
/// Otherwise the result will include series nams and season number.
|
||||
/// Otherwise the result will include series names and season number.
|
||||
/// </remarks>
|
||||
/// <param name="episode">The episode.</param>
|
||||
/// <param name="context">Current context.</param>
|
||||
|
|
|
@ -123,7 +123,7 @@ namespace Emby.Dlna
|
|||
/// <summary>
|
||||
/// Attempts to match a device with a profile.
|
||||
/// Rules:
|
||||
/// - If the profile field has no value, the field matches irregardless of its contents.
|
||||
/// - If the profile field has no value, the field matches regardless of its contents.
|
||||
/// - the profile field can be an exact match, or a reg exp.
|
||||
/// </summary>
|
||||
/// <param name="deviceInfo">The <see cref="DeviceIdentification"/> of the device.</param>
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace Emby.Dlna
|
|||
/// </summary>
|
||||
/// <param name="subscriptionId">The subscription identifier.</param>
|
||||
/// <param name="notificationType">The notification type.</param>
|
||||
/// <param name="requestedTimeoutString">The requested timeout as a sting.</param>
|
||||
/// <param name="requestedTimeoutString">The requested timeout as a string.</param>
|
||||
/// <param name="callbackUrl">The callback url.</param>
|
||||
/// <returns>The response.</returns>
|
||||
EventSubscriptionResponse RenewEventSubscription(string subscriptionId, string notificationType, string requestedTimeoutString, string callbackUrl);
|
||||
|
@ -25,7 +25,7 @@ namespace Emby.Dlna
|
|||
/// Creates the event subscription.
|
||||
/// </summary>
|
||||
/// <param name="notificationType">The notification type.</param>
|
||||
/// <param name="requestedTimeoutString">The requested timeout as a sting.</param>
|
||||
/// <param name="requestedTimeoutString">The requested timeout as a string.</param>
|
||||
/// <param name="callbackUrl">The callback url.</param>
|
||||
/// <returns>The response.</returns>
|
||||
EventSubscriptionResponse CreateEventSubscription(string notificationType, string requestedTimeoutString, string callbackUrl);
|
||||
|
|
|
@ -2529,7 +2529,7 @@ namespace Emby.Server.Implementations.Library
|
|||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.LogError(ex, "Error reading the episode informations with ffprobe. Episode: {EpisodeInfo}", episodeInfo.Path);
|
||||
_logger.LogError(ex, "Error reading the episode information with ffprobe. Episode: {EpisodeInfo}", episodeInfo.Path);
|
||||
}
|
||||
|
||||
var changed = false;
|
||||
|
|
|
@ -387,7 +387,7 @@ namespace Emby.Server.Implementations.Library.Resolvers.Movies
|
|||
|
||||
if (!string.IsNullOrEmpty(item.Path))
|
||||
{
|
||||
// check for imdb id - we use full media path, as we can assume, that this will match in any use case (wither id in parent dir or in file name)
|
||||
// check for imdb id - we use full media path, as we can assume, that this will match in any use case (either id in parent dir or in file name)
|
||||
var imdbid = item.Path.AsSpan().GetAttributeValue("imdbid");
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(imdbid))
|
||||
|
|
|
@ -199,7 +199,7 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts
|
|||
if (string.IsNullOrWhiteSpace(numberString))
|
||||
{
|
||||
// Using this as a fallback now as this leads to Problems with channels like "5 USA"
|
||||
// where 5 isn't ment to be the channel number
|
||||
// where 5 isn't meant to be the channel number
|
||||
// Check for channel number with the format from SatIp
|
||||
// #EXTINF:0,84. VOX Schweiz
|
||||
// #EXTINF:0,84.0 - VOX Schweiz
|
||||
|
|
|
@ -1242,7 +1242,7 @@ namespace Emby.Server.Implementations.Session
|
|||
|
||||
if (item == null)
|
||||
{
|
||||
_logger.LogError("A non-existant item Id {0} was passed into TranslateItemForPlayback", id);
|
||||
_logger.LogError("A non-existent item Id {0} was passed into TranslateItemForPlayback", id);
|
||||
return Array.Empty<BaseItem>();
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ namespace Emby.Server.Implementations.Session
|
|||
private const float ForceKeepAliveFactor = 0.75f;
|
||||
|
||||
/// <summary>
|
||||
/// Lock used for accesing the KeepAlive cancellation token.
|
||||
/// Lock used for accessing the KeepAlive cancellation token.
|
||||
/// </summary>
|
||||
private readonly object _keepAliveLock = new object();
|
||||
|
||||
|
|
|
@ -207,7 +207,7 @@ namespace Jellyfin.Api.Controllers
|
|||
/// <param name="deviceProfileId">Optional. The dlna device profile id to utilize.</param>
|
||||
/// <param name="playSessionId">The play session id.</param>
|
||||
/// <param name="segmentContainer">The segment container.</param>
|
||||
/// <param name="segmentLength">The segment lenght.</param>
|
||||
/// <param name="segmentLength">The segment length.</param>
|
||||
/// <param name="minSegments">The minimum number of segments.</param>
|
||||
/// <param name="mediaSourceId">The media version id, if playing an alternate version.</param>
|
||||
/// <param name="deviceId">The device id of the client requesting. Used to stop encoding processes when needed.</param>
|
||||
|
|
|
@ -121,7 +121,7 @@ namespace Jellyfin.Api.Controllers
|
|||
/// <param name="deviceProfileId">Optional. The dlna device profile id to utilize.</param>
|
||||
/// <param name="playSessionId">The play session id.</param>
|
||||
/// <param name="segmentContainer">The segment container.</param>
|
||||
/// <param name="segmentLength">The segment lenght.</param>
|
||||
/// <param name="segmentLength">The segment length.</param>
|
||||
/// <param name="minSegments">The minimum number of segments.</param>
|
||||
/// <param name="mediaSourceId">The media version id, if playing an alternate version.</param>
|
||||
/// <param name="deviceId">The device id of the client requesting. Used to stop encoding processes when needed.</param>
|
||||
|
@ -1832,7 +1832,7 @@ namespace Jellyfin.Api.Controllers
|
|||
// Set the key frame params for video encoding to match the hls segment time.
|
||||
args += _encodingHelper.GetHlsVideoKeyFrameArguments(state, codec, state.SegmentLength, isEventPlaylist, startNumber);
|
||||
|
||||
// Currenly b-frames in libx265 breaks the FMP4-HLS playback on iOS, disable it for now.
|
||||
// Currently b-frames in libx265 breaks the FMP4-HLS playback on iOS, disable it for now.
|
||||
if (string.Equals(codec, "libx265", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
args += " -bf 0";
|
||||
|
|
|
@ -60,9 +60,9 @@ namespace Jellyfin.Api.Controllers
|
|||
/// <param name="limit">Optional. The maximum number of records to return.</param>
|
||||
/// <param name="userId">Optional. Supply a user id to search within a user's library or omit to search all.</param>
|
||||
/// <param name="searchTerm">The search term to filter on.</param>
|
||||
/// <param name="includeItemTypes">If specified, only results with the specified item types are returned. This allows multiple, comma delimeted.</param>
|
||||
/// <param name="excludeItemTypes">If specified, results with these item types are filtered out. This allows multiple, comma delimeted.</param>
|
||||
/// <param name="mediaTypes">If specified, only results with the specified media types are returned. This allows multiple, comma delimeted.</param>
|
||||
/// <param name="includeItemTypes">If specified, only results with the specified item types are returned. This allows multiple, comma delimited.</param>
|
||||
/// <param name="excludeItemTypes">If specified, results with these item types are filtered out. This allows multiple, comma delimited.</param>
|
||||
/// <param name="mediaTypes">If specified, only results with the specified media types are returned. This allows multiple, comma delimited.</param>
|
||||
/// <param name="parentId">If specified, only children of the parent are returned.</param>
|
||||
/// <param name="isMovie">Optional filter for movies.</param>
|
||||
/// <param name="isSeries">Optional filter for series.</param>
|
||||
|
|
|
@ -502,7 +502,7 @@ namespace Jellyfin.Api.Controllers
|
|||
|
||||
if (isLocal)
|
||||
{
|
||||
_logger.LogWarning("Password reset proccess initiated from outside the local network with IP: {IP}", ip);
|
||||
_logger.LogWarning("Password reset process initiated from outside the local network with IP: {IP}", ip);
|
||||
}
|
||||
|
||||
var result = await _userManager.StartForgotPasswordProcess(forgotPasswordRequest.EnteredUsername, isLocal).ConfigureAwait(false);
|
||||
|
|
|
@ -169,7 +169,7 @@ namespace Jellyfin.Api.Models.StreamingDtos
|
|||
/// <summary>
|
||||
/// Disposes the stream state.
|
||||
/// </summary>
|
||||
/// <param name="disposing">Whether the object is currently beeing disposed.</param>
|
||||
/// <param name="disposing">Whether the object is currently being disposed.</param>
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
if (_disposed)
|
||||
|
|
|
@ -17,9 +17,9 @@ namespace Jellyfin.Api.Models.SyncPlayDtos
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the playlist identifiers ot the items. Ignored when clearing the playlist.
|
||||
/// Gets or sets the playlist identifiers of the items. Ignored when clearing the playlist.
|
||||
/// </summary>
|
||||
/// <value>The playlist identifiers ot the items.</value>
|
||||
/// <value>The playlist identifiers of the items.</value>
|
||||
public IReadOnlyList<Guid> PlaylistItemIds { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace Jellyfin.Drawing.Skia
|
|||
/// </summary>
|
||||
/// <param name="skiaEncoder">The current skia encoder.</param>
|
||||
/// <param name="paths">The list of image paths.</param>
|
||||
/// <param name="currentIndex">The current checked indes.</param>
|
||||
/// <param name="currentIndex">The current checked index.</param>
|
||||
/// <param name="newIndex">The new index.</param>
|
||||
/// <returns>A valid bitmap, or null if no bitmap exists after <c>currentIndex</c>.</returns>
|
||||
public static SKBitmap? GetNextValidImage(SkiaEncoder skiaEncoder, IReadOnlyList<string> paths, int currentIndex, out int newIndex)
|
||||
|
|
|
@ -193,7 +193,7 @@ namespace Jellyfin.Networking.Configuration
|
|||
public bool AutoDiscovery { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the filter for remote IP connectivity. Used in conjuntion with <seealso cref="IsRemoteIPFilterBlacklist"/>.
|
||||
/// Gets or sets the filter for remote IP connectivity. Used in conjunction with <seealso cref="IsRemoteIPFilterBlacklist"/>.
|
||||
/// </summary>
|
||||
public string[] RemoteIPFilter { get; set; } = Array.Empty<string>();
|
||||
|
||||
|
|
|
@ -944,7 +944,7 @@ namespace Jellyfin.Networking.Manager
|
|||
// Add virtual machine interface names to the list of bind exclusions, so that they are auto-excluded.
|
||||
if (config.IgnoreVirtualInterfaces)
|
||||
{
|
||||
// each virtual interface name must be pre-pended with the exclusion symbol !
|
||||
// each virtual interface name must be prepended with the exclusion symbol !
|
||||
var virtualInterfaceNames = config.VirtualInterfaceNames.Split(',').Select(p => "!" + p).ToArray();
|
||||
if (lanAddresses.Length > 0)
|
||||
{
|
||||
|
|
|
@ -244,7 +244,7 @@ namespace MediaBrowser.Controller.Entities.TV
|
|||
/// <summary>
|
||||
/// This is called before any metadata refresh and returns true or false indicating if changes were made.
|
||||
/// </summary>
|
||||
/// <param name="replaceAllMetadata"><c>true</c> to replace metdata, <c>false</c> to not.</param>
|
||||
/// <param name="replaceAllMetadata"><c>true</c> to replace metadata, <c>false</c> to not.</param>
|
||||
/// <returns><c>true</c> if XXXX, <c>false</c> otherwise.</returns>
|
||||
public override bool BeforeMetadataRefresh(bool replaceAllMetadata)
|
||||
{
|
||||
|
|
|
@ -194,7 +194,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
/// <summary>
|
||||
/// Gets the name of the output video codec.
|
||||
/// </summary>
|
||||
/// <param name="state">Encording state.</param>
|
||||
/// <param name="state">Encoding state.</param>
|
||||
/// <param name="encodingOptions">Encoding options.</param>
|
||||
/// <returns>Encoder string.</returns>
|
||||
public string GetVideoEncoder(EncodingJobInfo state, EncodingOptions encodingOptions)
|
||||
|
@ -1980,7 +1980,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
}
|
||||
}
|
||||
|
||||
// Cap the max target bitrate to intMax/2 to satisify the bufsize=bitrate*2.
|
||||
// Cap the max target bitrate to intMax/2 to satisfy the bufsize=bitrate*2.
|
||||
return Math.Min(bitrate ?? 0, int.MaxValue / 2);
|
||||
}
|
||||
|
||||
|
|
|
@ -549,7 +549,7 @@ namespace MediaBrowser.Controller.SyncPlay.GroupStates
|
|||
|
||||
if (InitialState.Equals(GroupStateType.Playing))
|
||||
{
|
||||
// Group went from playing to waiting state and a pause request occured while waiting.
|
||||
// Group went from playing to waiting state and a pause request occurred while waiting.
|
||||
var pauseRequest = new PauseGroupRequest();
|
||||
pausedState.HandleRequest(pauseRequest, context, Type, session, cancellationToken);
|
||||
}
|
||||
|
|
|
@ -27,9 +27,9 @@ namespace MediaBrowser.Controller.SyncPlay.PlaybackRequests
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the playlist identifiers ot the items.
|
||||
/// Gets the playlist identifiers of the items.
|
||||
/// </summary>
|
||||
/// <value>The playlist identifiers ot the items.</value>
|
||||
/// <value>The playlist identifiers of the items.</value>
|
||||
public IReadOnlyList<Guid> PlaylistItemIds { get; }
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -102,7 +102,7 @@ namespace MediaBrowser.Controller.SyncPlay.Queue
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Appends new items to the playlist. The specified order is mantained.
|
||||
/// Appends new items to the playlist. The specified order is maintained.
|
||||
/// </summary>
|
||||
/// <param name="items">The items to add to the playlist.</param>
|
||||
public void Queue(IReadOnlyList<Guid> items)
|
||||
|
@ -197,7 +197,7 @@ namespace MediaBrowser.Controller.SyncPlay.Queue
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Adds new items to the playlist right after the playing item. The specified order is mantained.
|
||||
/// Adds new items to the playlist right after the playing item. The specified order is maintained.
|
||||
/// </summary>
|
||||
/// <param name="items">The items to add to the playlist.</param>
|
||||
public void QueueNext(IReadOnlyList<Guid> items)
|
||||
|
|
|
@ -619,9 +619,9 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|||
Video3DFormat.HalfSideBySide => "crop=iw/2:ih:0:0,scale=(iw*2):ih,setdar=dar=a,crop=min(iw\\,ih*dar):min(ih\\,iw/dar):(iw-min(iw\\,iw*sar))/2:(ih - min (ih\\,ih/sar))/2,setsar=sar=1",
|
||||
// fsbs crop width in half,set the display aspect,crop out any black bars we may have made
|
||||
Video3DFormat.FullSideBySide => "crop=iw/2:ih:0:0,setdar=dar=a,crop=min(iw\\,ih*dar):min(ih\\,iw/dar):(iw-min(iw\\,iw*sar))/2:(ih - min (ih\\,ih/sar))/2,setsar=sar=1",
|
||||
// htab crop heigh in half,scale to correct size, set the display aspect,crop out any black bars we may have made
|
||||
// htab crop height in half,scale to correct size, set the display aspect,crop out any black bars we may have made
|
||||
Video3DFormat.HalfTopAndBottom => "crop=iw:ih/2:0:0,scale=(iw*2):ih),setdar=dar=a,crop=min(iw\\,ih*dar):min(ih\\,iw/dar):(iw-min(iw\\,iw*sar))/2:(ih - min (ih\\,ih/sar))/2,setsar=sar=1",
|
||||
// ftab crop heigt in half, set the display aspect,crop out any black bars we may have made
|
||||
// ftab crop height in half, set the display aspect,crop out any black bars we may have made
|
||||
Video3DFormat.FullTopAndBottom => "crop=iw:ih/2:0:0,setdar=dar=a,crop=min(iw\\,ih*dar):min(ih\\,iw/dar):(iw-min(iw\\,iw*sar))/2:(ih - min (ih\\,ih/sar))/2,setsar=sar=1",
|
||||
_ => "scale=trunc(iw*sar):ih"
|
||||
};
|
||||
|
|
|
@ -157,7 +157,7 @@ namespace MediaBrowser.Model.Dlna
|
|||
flagValue |= DlnaFlags.ByteBasedSeek;
|
||||
}
|
||||
|
||||
// Time based seek is curently disabled when streaming. On LG CX3 adding DlnaFlags.TimeBasedSeek and orgPn causes the DLNA playback to fail (format not supported). Further investigations are needed before enabling the remaining code paths.
|
||||
// Time based seek is currently disabled when streaming. On LG CX3 adding DlnaFlags.TimeBasedSeek and orgPn causes the DLNA playback to fail (format not supported). Further investigations are needed before enabling the remaining code paths.
|
||||
// else if (runtimeTicks.HasValue)
|
||||
// {
|
||||
// flagValue = flagValue | DlnaFlags.TimeBasedSeek;
|
||||
|
|
|
@ -294,13 +294,13 @@ namespace MediaBrowser.Model.Dto
|
|||
public NameGuidPair[] GenreItems { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets wether the item has a logo, this will hold the Id of the Parent that has one.
|
||||
/// Gets or sets whether the item has a logo, this will hold the Id of the Parent that has one.
|
||||
/// </summary>
|
||||
/// <value>The parent logo item id.</value>
|
||||
public Guid? ParentLogoItemId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets wether the item has any backdrops, this will hold the Id of the Parent that has one.
|
||||
/// Gets or sets whether the item has any backdrops, this will hold the Id of the Parent that has one.
|
||||
/// </summary>
|
||||
/// <value>The parent backdrop item id.</value>
|
||||
public Guid? ParentBackdropItemId { get; set; }
|
||||
|
@ -506,7 +506,7 @@ namespace MediaBrowser.Model.Dto
|
|||
public string ParentLogoImageTag { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets wether the item has fan art, this will hold the Id of the Parent that has one.
|
||||
/// Gets or sets whether the item has fan art, this will hold the Id of the Parent that has one.
|
||||
/// </summary>
|
||||
/// <value>The parent art item id.</value>
|
||||
public Guid? ParentArtItemId { get; set; }
|
||||
|
|
|
@ -606,7 +606,7 @@ namespace MediaBrowser.Model.Entities
|
|||
<= 1024 when Height <= 576 => IsInterlaced ? "576i" : "576p",
|
||||
// 1280x720
|
||||
<= 1280 when Height <= 962 => IsInterlaced ? "720i" : "720p",
|
||||
// 2560x1080 (FHD ultra wide 21:9) using 1440px width to accomodate WQHD
|
||||
// 2560x1080 (FHD ultra wide 21:9) using 1440px width to accommodate WQHD
|
||||
<= 2560 when Height <= 1440 => IsInterlaced ? "1080i" : "1080p",
|
||||
// 4K
|
||||
<= 4096 when Height <= 3072 => "4K",
|
||||
|
|
|
@ -11,7 +11,7 @@ namespace MediaBrowser.Model.SyncPlay
|
|||
Idle = 0,
|
||||
|
||||
/// <summary>
|
||||
/// The group is in wating state. Playback is paused. Will start playing when users are ready.
|
||||
/// The group is in waiting state. Playback is paused. Will start playing when users are ready.
|
||||
/// </summary>
|
||||
Waiting = 1,
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ namespace MediaBrowser.Model.Tasks
|
|||
/// <summary>
|
||||
/// Cancels if running and queue.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">An implementatin of <see cref="IScheduledTask" />.</typeparam>
|
||||
/// <typeparam name="T">An implementation of <see cref="IScheduledTask" />.</typeparam>
|
||||
/// <param name="options">Task options.</param>
|
||||
void CancelIfRunningAndQueue<T>(TaskOptions options)
|
||||
where T : IScheduledTask;
|
||||
|
@ -30,21 +30,21 @@ namespace MediaBrowser.Model.Tasks
|
|||
/// <summary>
|
||||
/// Cancels if running and queue.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">An implementatin of <see cref="IScheduledTask" />.</typeparam>
|
||||
/// <typeparam name="T">An implementation of <see cref="IScheduledTask" />.</typeparam>
|
||||
void CancelIfRunningAndQueue<T>()
|
||||
where T : IScheduledTask;
|
||||
|
||||
/// <summary>
|
||||
/// Cancels if running.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">An implementatin of <see cref="IScheduledTask" />.</typeparam>
|
||||
/// <typeparam name="T">An implementation of <see cref="IScheduledTask" />.</typeparam>
|
||||
void CancelIfRunning<T>()
|
||||
where T : IScheduledTask;
|
||||
|
||||
/// <summary>
|
||||
/// Queues the scheduled task.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">An implementatin of <see cref="IScheduledTask" />.</typeparam>
|
||||
/// <typeparam name="T">An implementation of <see cref="IScheduledTask" />.</typeparam>
|
||||
/// <param name="options">Task options.</param>
|
||||
void QueueScheduledTask<T>(TaskOptions options)
|
||||
where T : IScheduledTask;
|
||||
|
@ -52,7 +52,7 @@ namespace MediaBrowser.Model.Tasks
|
|||
/// <summary>
|
||||
/// Queues the scheduled task.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">An implementatin of <see cref="IScheduledTask" />.</typeparam>
|
||||
/// <typeparam name="T">An implementation of <see cref="IScheduledTask" />.</typeparam>
|
||||
void QueueScheduledTask<T>()
|
||||
where T : IScheduledTask;
|
||||
|
||||
|
|
|
@ -21,10 +21,10 @@ namespace MediaBrowser.Model.Tasks
|
|||
/// <summary>
|
||||
/// Stars waiting for the trigger action.
|
||||
/// </summary>
|
||||
/// <param name="lastResult">Result of the last run triggerd task.</param>
|
||||
/// <param name="lastResult">Result of the last run triggered task.</param>
|
||||
/// <param name="logger">The <see cref="ILogger"/>.</param>
|
||||
/// <param name="taskName">The name of the task.</param>
|
||||
/// <param name="isApplicationStartup">Wheter or not this is is fired during startup.</param>
|
||||
/// <param name="isApplicationStartup">Whether or not this is is fired during startup.</param>
|
||||
void Start(TaskResult? lastResult, ILogger logger, string taskName, bool isApplicationStartup);
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -926,7 +926,7 @@ namespace MediaBrowser.Providers.Manager
|
|||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.LogError(ex, "Error in {0}.Suports", i.GetType().Name);
|
||||
_logger.LogError(ex, "Error in {0}.Supports", i.GetType().Name);
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
|
|
@ -36,7 +36,7 @@ namespace MediaBrowser.Providers.Music
|
|||
/// <summary>
|
||||
/// The Jellyfin user-agent is unrestricted but source IP must not exceed
|
||||
/// one request per second, therefore we rate limit to avoid throttling.
|
||||
/// Be prudent, use a value slightly above the minimun required.
|
||||
/// Be prudent, use a value slightly above the minimum required.
|
||||
/// https://musicbrainz.org/doc/XML_Web_Service/Rate_Limiting.
|
||||
/// </summary>
|
||||
private readonly long _musicBrainzQueryIntervalMs;
|
||||
|
|
|
@ -1330,7 +1330,7 @@ namespace MediaBrowser.XbmcMetadata.Parsers
|
|||
};
|
||||
|
||||
/// <summary>
|
||||
/// Used to split names of comma or pipe delimeted genres and people.
|
||||
/// Used to split names of comma or pipe delimited genres and people.
|
||||
/// </summary>
|
||||
/// <param name="value">The value.</param>
|
||||
/// <returns>IEnumerable{System.String}.</returns>
|
||||
|
|
|
@ -55,7 +55,7 @@ namespace Jellyfin.Extensions
|
|||
public static Enumerator Split(this ReadOnlySpan<char> str, char separator) => new(str, separator);
|
||||
|
||||
/// <summary>
|
||||
/// Provides an enumerator for the substrings seperated by the separator.
|
||||
/// Provides an enumerator for the substrings separated by the separator.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Auto)]
|
||||
public ref struct Enumerator
|
||||
|
|
|
@ -40,7 +40,7 @@ namespace Jellyfin.Extensions
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Checks wether or not the specified string has diacritics in it.
|
||||
/// Checks whether or not the specified string has diacritics in it.
|
||||
/// </summary>
|
||||
/// <param name="text">The string to check.</param>
|
||||
/// <returns>True if the string has diacritics, false otherwise.</returns>
|
||||
|
|
|
@ -152,9 +152,9 @@ namespace Jellyfin.Model.Tests.Cryptography
|
|||
[InlineData("$PBKDF2$$62FBA410AFCA5B4475F35137AB2E8596B127E4D927BA23F6CC05C067E897042D")] // Empty segment
|
||||
[InlineData("$PBKDF2$iterations=1000$$62FBA410AFCA5B4475F35137AB2E8596B127E4D927BA23F6CC05C067E897042D")] // Empty salt segment
|
||||
[InlineData("$PBKDF2$iterations=1000$69F420$")] // Empty hash segment
|
||||
[InlineData("$PBKDF2$=$62FBA410AFCA5B4475F35137AB2E8596B127E4D927BA23F6CC05C067E897042D")] // Invalid parmeter
|
||||
[InlineData("$PBKDF2$=1000$62FBA410AFCA5B4475F35137AB2E8596B127E4D927BA23F6CC05C067E897042D")] // Invalid parmeter
|
||||
[InlineData("$PBKDF2$iterations=$62FBA410AFCA5B4475F35137AB2E8596B127E4D927BA23F6CC05C067E897042D")] // Invalid parmeter
|
||||
[InlineData("$PBKDF2$=$62FBA410AFCA5B4475F35137AB2E8596B127E4D927BA23F6CC05C067E897042D")] // Invalid parameter
|
||||
[InlineData("$PBKDF2$=1000$62FBA410AFCA5B4475F35137AB2E8596B127E4D927BA23F6CC05C067E897042D")] // Invalid parameter
|
||||
[InlineData("$PBKDF2$iterations=$62FBA410AFCA5B4475F35137AB2E8596B127E4D927BA23F6CC05C067E897042D")] // Invalid parameter
|
||||
[InlineData("$PBKDF2$iterations=1000$62FBA410AFCA5B4475F35137AB2E8596B127E4D927BA23F6CC05C067E897042D$")] // Ends on $
|
||||
[InlineData("$PBKDF2$iterations=1000$69F420$62FBA410AFCA5B4475F35137AB2E8596B127E4D927BA23F6CC05C067E897042D$")] // Extra segment
|
||||
[InlineData("$PBKDF2$iterations=1000$69F420$62FBA410AFCA5B4475F35137AB2E8596B127E4D927BA23F6CC05C067E897042D$anotherone")] // Extra segment
|
||||
|
|
|
@ -393,7 +393,7 @@ namespace Jellyfin.Networking.Tests
|
|||
// User on external network, internal binding only - so assumption is a proxy forward, return external override.
|
||||
[InlineData("jellyfin.org", "192.168.1.0/24", "eth16", false, "0.0.0.0=http://helloworld.com", "http://helloworld.com")]
|
||||
|
||||
// User on external network, no binding - so result is the 1st external which is overriden.
|
||||
// User on external network, no binding - so result is the 1st external which is overridden.
|
||||
[InlineData("jellyfin.org", "192.168.1.0/24", "", false, "0.0.0.0 = http://helloworld.com", "http://helloworld.com")]
|
||||
|
||||
// User assumed to be internal, no binding - so result is the 1st internal.
|
||||
|
|
|
@ -18,7 +18,7 @@ namespace Jellyfin.Server.Implementations.Tests.LiveTv.SchedulesDirect
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// /token reponse.
|
||||
/// /token response.
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void Deserialize_Token_Response_Live_Success()
|
||||
|
|
|
@ -253,7 +253,7 @@
|
|||
"versions": [
|
||||
{
|
||||
"version": "5.0.0.0",
|
||||
"changelog": "Updated to use NextPVR API v5, no longer compatable with API v4.\n",
|
||||
"changelog": "Updated to use NextPVR API v5, no longer compatible with API v4.\n",
|
||||
"targetAbi": "10.7.0.0",
|
||||
"sourceUrl": "https://repo.jellyfin.org/releases/plugin/nextpvr/nextpvr_5.0.0.0.zip",
|
||||
"checksum": "d70f694d14bf9462ba2b2ebe110068d3",
|
||||
|
|
Loading…
Reference in New Issue
Block a user