aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-06-30 09:28:38 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-06-30 09:28:38 -0400
commitf0da58a997ed01635225ae5290d7f34997b99452 (patch)
tree91cbf8c34aff65d1384a2e1277c3544aeb9e0c09 /MediaBrowser.Controller
parent62d98551edf421ba50f2eadf95d6c3d1fb1d20ae (diff)
fix config startup
Diffstat (limited to 'MediaBrowser.Controller')
-rw-r--r--MediaBrowser.Controller/Entities/Person.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Entities/Person.cs b/MediaBrowser.Controller/Entities/Person.cs
index 1def47391..fe8d61836 100644
--- a/MediaBrowser.Controller/Entities/Person.cs
+++ b/MediaBrowser.Controller/Entities/Person.cs
@@ -96,5 +96,10 @@ namespace MediaBrowser.Controller.Entities
{
return Name;
}
+
+ public bool IsType(string type)
+ {
+ return string.Equals(Type, type, StringComparison.OrdinalIgnoreCase) || string.Equals(Role, type, StringComparison.OrdinalIgnoreCase);
+ }
}
}