diff options
| author | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-08-10 09:18:30 -0400 |
|---|---|---|
| committer | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-08-10 09:18:30 -0400 |
| commit | fbf3916bcec3ff6ba9e34d9756f0583ac90ea0ab (patch) | |
| tree | fd7982b7d9c130546a04122171be9205a7c82504 /MediaBrowser.Api/Plugin.cs | |
| parent | 2536011247de55c75e8b1f893e23b606e4200159 (diff) | |
Added an audio handler
Diffstat (limited to 'MediaBrowser.Api/Plugin.cs')
| -rw-r--r-- | MediaBrowser.Api/Plugin.cs | 6 |
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;
}
|
