mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04:00
SearchResult Controller added.
Force Download added.
This commit is contained in:
13
NzbDrone.Web/Models/SearchDetailsModel.cs
Normal file
13
NzbDrone.Web/Models/SearchDetailsModel.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using NzbDrone.Core.Repository.Search;
|
||||
|
||||
namespace NzbDrone.Web.Models
|
||||
{
|
||||
public class SearchDetailsModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string DisplayName { get; set; }
|
||||
public List<SearchItemModel> SearchResultItems { get; set; }
|
||||
}
|
||||
}
|
||||
23
NzbDrone.Web/Models/SearchItemModel.cs
Normal file
23
NzbDrone.Web/Models/SearchItemModel.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using NzbDrone.Core.Model;
|
||||
using NzbDrone.Core.Repository.Quality;
|
||||
|
||||
namespace NzbDrone.Web.Models
|
||||
{
|
||||
public class SearchItemModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string ReportTitle { get; set; }
|
||||
public string Indexer { get; set; }
|
||||
public string NzbUrl { get; set; }
|
||||
public string NzbInfoUrl { get; set; }
|
||||
public bool Success { get; set; }
|
||||
public string SearchError { get; set; }
|
||||
public string Quality { get; set; }
|
||||
public int QualityInt { get; set; }
|
||||
public bool Proper { get; set; }
|
||||
public int Age { get; set; }
|
||||
public string Language { get; set; }
|
||||
public string Size { get; set; }
|
||||
public string Details { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user