aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Images/RemoteImageService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-12-07 10:52:38 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-12-07 10:52:38 -0500
commitf32212d160f5427a56b5b8e0219206930c518b64 (patch)
treeeddda40fe8c4d46cd0a0009939607681da89f03c /MediaBrowser.Api/Images/RemoteImageService.cs
parent1b1bcabbb12a3ab2c9b8c5b319423eb3860c9987 (diff)
update to service stack v4
Diffstat (limited to 'MediaBrowser.Api/Images/RemoteImageService.cs')
-rw-r--r--MediaBrowser.Api/Images/RemoteImageService.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/MediaBrowser.Api/Images/RemoteImageService.cs b/MediaBrowser.Api/Images/RemoteImageService.cs
index 1084e99d0..c18954e50 100644
--- a/MediaBrowser.Api/Images/RemoteImageService.cs
+++ b/MediaBrowser.Api/Images/RemoteImageService.cs
@@ -8,14 +8,14 @@ using MediaBrowser.Controller.Library;
using MediaBrowser.Controller.Providers;
using MediaBrowser.Model.Entities;
using MediaBrowser.Model.Providers;
-using ServiceStack.ServiceHost;
-using ServiceStack.Text.Controller;
+using ServiceStack;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
+using ServiceStack.Text.Controller;
namespace MediaBrowser.Api.Images
{
@@ -181,7 +181,7 @@ namespace MediaBrowser.Api.Images
public object Get(GetItemByNameRemoteImageProviders request)
{
- var pathInfo = PathInfo.Parse(RequestContext.PathInfo);
+ var pathInfo = PathInfo.Parse(Request.PathInfo);
var type = pathInfo.GetArgumentValue<string>(0);
var item = GetItemByName(request.Name, type, _libraryManager);
@@ -212,7 +212,7 @@ namespace MediaBrowser.Api.Images
public object Get(GetItemByNameRemoteImages request)
{
- var pathInfo = PathInfo.Parse(RequestContext.PathInfo);
+ var pathInfo = PathInfo.Parse(Request.PathInfo);
var type = pathInfo.GetArgumentValue<string>(0);
var item = GetItemByName(request.Name, type, _libraryManager);
@@ -264,7 +264,7 @@ namespace MediaBrowser.Api.Images
public void Post(DownloadItemByNameRemoteImage request)
{
- var pathInfo = PathInfo.Parse(RequestContext.PathInfo);
+ var pathInfo = PathInfo.Parse(Request.PathInfo);
var type = pathInfo.GetArgumentValue<string>(0);
var item = GetItemByName(request.Name, type, _libraryManager);