rework dynamic quality options

This commit is contained in:
Luke Pulverenti 2015-03-12 01:24:02 -04:00
parent 7ad5a51828
commit d0d225e0d1

View File

@ -27,13 +27,6 @@ namespace MediaBrowser.Api.Sync
public string Id { get; set; }
}
[Route("/Sync/QualityOptions", "GET", Summary = "Gets quality options for a sync target.")]
public class GetQualityOptions : IReturn<List<SyncQualityOption>>
{
[ApiMember(Name = "TargetId", Description = "TargetId", IsRequired = true, DataType = "string", ParameterType = "query", Verb = "GET")]
public string TargetId { get; set; }
}
[Route("/Sync/Jobs/{Id}", "POST", Summary = "Updates a sync job.")]
public class UpdateSyncJob : SyncJob, IReturnVoid
{
@ -229,13 +222,6 @@ namespace MediaBrowser.Api.Sync
return ToStaticFileResult(jobItem.OutputPath);
}
public object Get(GetQualityOptions request)
{
return ToOptimizedResult(_syncManager
.GetQualityOptions(request.TargetId)
.ToList());
}
public object Get(GetSyncDialogOptions request)
{
var result = new SyncDialogOptions();