aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/ConfigurationService.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-06-29 13:59:44 -0400
committerGitHub <noreply@github.com>2016-06-29 13:59:44 -0400
commitd62fe7113592f9b1dfd5d68349a05de38a550843 (patch)
tree78e8c82618b27e350c583760afc2082868bdfb27 /MediaBrowser.Api/ConfigurationService.cs
parent1d6421dde983a6127c30314aec51497fa6161cc7 (diff)
parent636969e7ffbaafec3f458de4299966776bc72737 (diff)
Merge pull request #1888 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Api/ConfigurationService.cs')
-rw-r--r--MediaBrowser.Api/ConfigurationService.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/MediaBrowser.Api/ConfigurationService.cs b/MediaBrowser.Api/ConfigurationService.cs
index 9c8120de7..2e5c252d6 100644
--- a/MediaBrowser.Api/ConfigurationService.cs
+++ b/MediaBrowser.Api/ConfigurationService.cs
@@ -79,6 +79,8 @@ namespace MediaBrowser.Api
{
[ApiMember(Name = "Path", Description = "Path", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "GET")]
public string Path { get; set; }
+ [ApiMember(Name = "PathType", Description = "PathType", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "GET")]
+ public string PathType { get; set; }
}
public class ConfigurationService : BaseApiService
@@ -110,7 +112,7 @@ namespace MediaBrowser.Api
public void Post(UpdateMediaEncoderPath request)
{
- var task = _mediaEncoder.UpdateEncoderPath(request.Path);
+ var task = _mediaEncoder.UpdateEncoderPath(request.Path, request.PathType);
Task.WaitAll(task);
}