mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-10 15:32:37 -07:00
small changes
This commit is contained in:
parent
9c61f909de
commit
07c00d232c
3 changed files with 9 additions and 14 deletions
|
@ -164,7 +164,6 @@ namespace PlexRequests.UI.Modules
|
|||
private Response ProcessMovies(MovieSearchType searchType, string searchTerm)
|
||||
{
|
||||
List<Task> taskList = new List<Task>();
|
||||
var cpSettings = CpService.GetSettings();
|
||||
|
||||
List<MovieResult> apiMovies = new List<MovieResult>();
|
||||
taskList.Add(Task.Factory.StartNew<List<MovieResult>>(() =>
|
||||
|
@ -264,9 +263,9 @@ namespace PlexRequests.UI.Modules
|
|||
{
|
||||
Log.Trace("Searching for TV Show {0}", searchTerm);
|
||||
|
||||
List<Task> taskList = new List<Task>();
|
||||
var taskList = new List<Task>();
|
||||
|
||||
List<TvMazeSearch> apiTv = new List<TvMazeSearch>();
|
||||
var apiTv = new List<TvMazeSearch>();
|
||||
taskList.Add(Task.Factory.StartNew(() =>
|
||||
{
|
||||
return new TvMazeApi().Search(searchTerm);
|
||||
|
@ -276,7 +275,7 @@ namespace PlexRequests.UI.Modules
|
|||
apiTv = t.Result;
|
||||
}));
|
||||
|
||||
Dictionary<int, RequestedModel> dbTv = new Dictionary<int, RequestedModel>();
|
||||
var dbTv = new Dictionary<int, RequestedModel>();
|
||||
taskList.Add(Task.Factory.StartNew(() =>
|
||||
{
|
||||
return RequestService.GetAll().Where(x => x.Type == RequestType.TvShow);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue