aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Plugin.cs
diff options
context:
space:
mode:
authorLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-08-14 15:06:25 -0400
committerLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-08-14 15:06:25 -0400
commit0788f435c185e6e5fa63b439d1e8d08e5ad89e13 (patch)
treec092388d3f5eb372b522a6c8a2b5b65bdd305132 /MediaBrowser.Api/Plugin.cs
parentee1fa6e816f0bf836c21a5901bf3d282f6e45dfa (diff)
Added GetItemsWithPerson
Diffstat (limited to 'MediaBrowser.Api/Plugin.cs')
-rw-r--r--MediaBrowser.Api/Plugin.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/MediaBrowser.Api/Plugin.cs b/MediaBrowser.Api/Plugin.cs
index efbd9725e..92127f98c 100644
--- a/MediaBrowser.Api/Plugin.cs
+++ b/MediaBrowser.Api/Plugin.cs
@@ -61,6 +61,10 @@ namespace MediaBrowser.Api
{
return new ItemsWithYearHandler();
}
+ else if (localPath.EndsWith("/api/itemswithperson", StringComparison.OrdinalIgnoreCase))
+ {
+ return new ItemsWithPersonHandler();
+ }
else if (localPath.EndsWith("/api/years", StringComparison.OrdinalIgnoreCase))
{
return new YearsHandler();