ソースを参照

rework dynamic quality options

Luke Pulverenti 10 年 前
コミット
d0d225e0d1
1 ファイル変更0 行追加14 行削除
  1. 0 14
      MediaBrowser.Api/Sync/SyncService.cs

+ 0 - 14
MediaBrowser.Api/Sync/SyncService.cs

@@ -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();