Merge pull request #7551 from cvium/fix_trailertype
fix: remove (incorrect) negation of bool expression (cherry picked from commit fec2cf5060cdfdf5fa5bbd1e88529fc373dca945) Signed-off-by: crobibero <cody@robibe.ro>
This commit is contained in:
parent
94a69c8a8b
commit
0d0a5c2edf
|
@ -84,8 +84,8 @@ namespace MediaBrowser.Providers.Plugins.Tmdb
|
||||||
public static bool IsTrailerType(Video video)
|
public static bool IsTrailerType(Video video)
|
||||||
{
|
{
|
||||||
return video.Site.Equals("youtube", StringComparison.OrdinalIgnoreCase)
|
return video.Site.Equals("youtube", StringComparison.OrdinalIgnoreCase)
|
||||||
&& (!video.Type.Equals("trailer", StringComparison.OrdinalIgnoreCase)
|
&& (video.Type.Equals("trailer", StringComparison.OrdinalIgnoreCase)
|
||||||
|| !video.Type.Equals("teaser", StringComparison.OrdinalIgnoreCase));
|
|| video.Type.Equals("teaser", StringComparison.OrdinalIgnoreCase));
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user