rework dynamic quality options
This commit is contained in:
parent
7ad5a51828
commit
d0d225e0d1
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user