mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-08 06:00:50 -07:00
Fixed #1104
This commit is contained in:
parent
15dab75418
commit
eb0d0ee5b0
2 changed files with 2 additions and 9 deletions
|
@ -49,13 +49,6 @@ namespace Ombi.Api.Models.Watcher
|
||||||
public string requiredwords { get; set; }
|
public string requiredwords { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Quality
|
|
||||||
{
|
|
||||||
[JsonProperty("Quality")]
|
|
||||||
public Quality2 quality { get; set; }
|
|
||||||
public Filters Filters { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
public class WatcherListStatusResult
|
public class WatcherListStatusResult
|
||||||
{
|
{
|
||||||
public string status { get; set; }
|
public string status { get; set; }
|
||||||
|
@ -72,7 +65,7 @@ namespace Ombi.Api.Models.Watcher
|
||||||
public string dvd { get; set; }
|
public string dvd { get; set; }
|
||||||
public string tomatorating { get; set; }
|
public string tomatorating { get; set; }
|
||||||
public string imdbid { get; set; }
|
public string imdbid { get; set; }
|
||||||
public Quality quality { get; set; }
|
public string quality { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,7 @@ namespace Ombi.Services.Jobs
|
||||||
{
|
{
|
||||||
if (watcherSettings.Enabled)
|
if (watcherSettings.Enabled)
|
||||||
{
|
{
|
||||||
var movies = WatcherApi.ListMovies(watcherSettings.ApiKey, watcherSettings.FullUri);
|
var movies = WatcherApi.ListMovies(watcherSettings.ApiKey, watcherSettings.FullUri);
|
||||||
if (movies.Error)
|
if (movies.Error)
|
||||||
{
|
{
|
||||||
Log.Error("Error when trying to get Watchers movies");
|
Log.Error("Error when trying to get Watchers movies");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue