mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Review comments
This commit is contained in:
parent
da2c7db0df
commit
935c7231eb
@ -98,7 +98,7 @@ namespace MediaBrowser.Providers.TV.TheTVDB
|
|||||||
VoteCount = image.RatingsInfo.Count,
|
VoteCount = image.RatingsInfo.Count,
|
||||||
Url = TVUtils.BannerUrl + image.FileName,
|
Url = TVUtils.BannerUrl + image.FileName,
|
||||||
ProviderName = Name,
|
ProviderName = Name,
|
||||||
Language = languages.FirstOrDefault(l => l.Id == image.LanguageId)?.Abbreviation,
|
Language = languages.FirstOrDefault(lang => lang.Id == image.LanguageId)?.Abbreviation,
|
||||||
ThumbnailUrl = TVUtils.BannerUrl + image.Thumbnail
|
ThumbnailUrl = TVUtils.BannerUrl + image.Thumbnail
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -279,7 +279,7 @@ namespace MediaBrowser.Providers.TV.TheTVDB
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The spacers
|
/// The spacers
|
||||||
/// </summary>
|
/// </summary>
|
||||||
const string spacers = "/,.:;\\(){}[]+-_=–*"; // (there are not actually two - in the they are different char codes)
|
const string spacers = "/,.:;\\(){}[]+-_=–*"; // (there are two types of dashes, short and long)
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the name of the comparable.
|
/// Gets the name of the comparable.
|
||||||
@ -293,7 +293,7 @@ namespace MediaBrowser.Providers.TV.TheTVDB
|
|||||||
var sb = new StringBuilder();
|
var sb = new StringBuilder();
|
||||||
foreach (var c in name)
|
foreach (var c in name)
|
||||||
{
|
{
|
||||||
if ((int)c >= 0x2B0 && (int)c <= 0x0333)
|
if (c >= 0x2B0 && c <= 0x0333)
|
||||||
{
|
{
|
||||||
// skip char modifier and diacritics
|
// skip char modifier and diacritics
|
||||||
}
|
}
|
||||||
@ -398,7 +398,7 @@ namespace MediaBrowser.Providers.TV.TheTVDB
|
|||||||
Type = PersonType.Actor,
|
Type = PersonType.Actor,
|
||||||
Name = (actor.Name ?? string.Empty).Trim(),
|
Name = (actor.Name ?? string.Empty).Trim(),
|
||||||
Role = actor.Role,
|
Role = actor.Role,
|
||||||
ImageUrl = actor.Image,
|
ImageUrl = TVUtils.BannerUrl + actor.Image,
|
||||||
SortOrder = actor.SortOrder
|
SortOrder = actor.SortOrder
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user