diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2022-04-15 19:27:38 +0200 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2022-11-17 11:16:20 +0100 |
| commit | 072651c4be3914f0ffb5e0be8f57e714d4303fe1 (patch) | |
| tree | 6ac01ca4f929407e821311e5ffd83c6cc7c30f00 /MediaBrowser.Common/Providers | |
| parent | f4ab56e12acd8c45dbb04cde93d24db37884bbfe (diff) | |
Add xmldocs for TMDb provider, correct provider spelling
Diffstat (limited to 'MediaBrowser.Common/Providers')
| -rw-r--r-- | MediaBrowser.Common/Providers/ProviderIdParsers.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Common/Providers/ProviderIdParsers.cs b/MediaBrowser.Common/Providers/ProviderIdParsers.cs index 487b5a6d2..d569167b1 100644 --- a/MediaBrowser.Common/Providers/ProviderIdParsers.cs +++ b/MediaBrowser.Common/Providers/ProviderIdParsers.cs @@ -20,7 +20,7 @@ namespace MediaBrowser.Common.Providers /// <returns>True if parsing was successful, false otherwise.</returns> public static bool TryFindImdbId(ReadOnlySpan<char> text, out ReadOnlySpan<char> imdbId) { - // imdb id is at least 9 chars (tt + 7 numbers) + // IMDb id is at least 9 chars (tt + 7 numbers) while (text.Length >= 2 + ImdbMinNumbers) { var ttPos = text.IndexOf(ImdbPrefix); @@ -42,7 +42,7 @@ namespace MediaBrowser.Common.Providers } } - // skip if more than 8 digits + 2 chars for tt + // Skip if more than 8 digits + 2 chars for tt if (i <= ImdbMaxNumbers + 2 && i >= ImdbMinNumbers + 2) { imdbId = text.Slice(0, i); |
