aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Devices/DeviceService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-10-24 00:54:35 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-10-24 00:54:35 -0400
commitc8a735bcb1ba71e9501d18b3044aa30793ff97ee (patch)
tree894a2da0c7b9d96d5108b6f2ed57e0f10dfee96a /MediaBrowser.Api/Devices/DeviceService.cs
parent5a5b48feff3a0b0a660aaaa9bdfd04fd0fe711ed (diff)
add LocalFileInfo.Id
Diffstat (limited to 'MediaBrowser.Api/Devices/DeviceService.cs')
-rw-r--r--MediaBrowser.Api/Devices/DeviceService.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/MediaBrowser.Api/Devices/DeviceService.cs b/MediaBrowser.Api/Devices/DeviceService.cs
index bb8d8eda3..b873c6a71 100644
--- a/MediaBrowser.Api/Devices/DeviceService.cs
+++ b/MediaBrowser.Api/Devices/DeviceService.cs
@@ -44,8 +44,8 @@ namespace MediaBrowser.Api.Devices
[ApiMember(Name = "Name", Description = "Name", IsRequired = true, DataType = "string", ParameterType = "query", Verb = "GET")]
public string Name { get; set; }
- [ApiMember(Name = "FullPath", Description = "FullPath", IsRequired = true, DataType = "string", ParameterType = "query", Verb = "GET")]
- public string FullPath { get; set; }
+ [ApiMember(Name = "Id", Description = "Id", IsRequired = true, DataType = "string", ParameterType = "query", Verb = "GET")]
+ public string Id { get; set; }
public Stream RequestStream { get; set; }
}
@@ -132,7 +132,7 @@ namespace MediaBrowser.Api.Devices
{
var deviceId = Request.QueryString["DeviceId"];
var album = Request.QueryString["Album"];
- var fullPath = Request.QueryString["FullPath"];
+ var id = Request.QueryString["Id"];
var name = Request.QueryString["Name"];
var task = _deviceManager.AcceptCameraUpload(deviceId, request.RequestStream, new LocalFileInfo
@@ -140,7 +140,7 @@ namespace MediaBrowser.Api.Devices
MimeType = Request.ContentType,
Album = album,
Name = name,
- FullPath = fullPath
+ Id = id
});
Task.WaitAll(task);