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-10 09:18:30 -0400
committerLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-08-10 09:18:30 -0400
commitfbf3916bcec3ff6ba9e34d9756f0583ac90ea0ab (patch)
treefd7982b7d9c130546a04122171be9205a7c82504 /MediaBrowser.Api/Plugin.cs
parent2536011247de55c75e8b1f893e23b606e4200159 (diff)
Added an audio handler
Diffstat (limited to 'MediaBrowser.Api/Plugin.cs')
-rw-r--r--MediaBrowser.Api/Plugin.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Plugin.cs b/MediaBrowser.Api/Plugin.cs
index fe061a48b..02546c693 100644
--- a/MediaBrowser.Api/Plugin.cs
+++ b/MediaBrowser.Api/Plugin.cs
@@ -44,7 +44,7 @@ namespace MediaBrowser.Api
else if (localPath.EndsWith("/api/image", StringComparison.OrdinalIgnoreCase))
{
return new ImageHandler();
- }
+ }
else if (localPath.EndsWith("/api/users", StringComparison.OrdinalIgnoreCase))
{
return new UsersHandler();
@@ -89,6 +89,10 @@ namespace MediaBrowser.Api
{
return new StaticFileHandler();
}
+ else if (localPath.EndsWith("/api/audio", StringComparison.OrdinalIgnoreCase))
+ {
+ return new AudioHandler();
+ }
return null;
}