mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 04:49:33 -07:00
Fixed #1192
This commit is contained in:
parent
487abf3ac2
commit
0dfd2f2658
2 changed files with 5 additions and 1 deletions
|
@ -15,7 +15,7 @@ namespace Ombi.Api.Models.Tv
|
||||||
public string language { get; set; }
|
public string language { get; set; }
|
||||||
public List<string> genres { get; set; }
|
public List<string> genres { get; set; }
|
||||||
public string status { get; set; }
|
public string status { get; set; }
|
||||||
public int runtime { get; set; }
|
public double runtime { get; set; }
|
||||||
public string premiered { get; set; }
|
public string premiered { get; set; }
|
||||||
public Schedule schedule { get; set; }
|
public Schedule schedule { get; set; }
|
||||||
public Rating rating { get; set; }
|
public Rating rating { get; set; }
|
||||||
|
|
|
@ -73,6 +73,10 @@ namespace Ombi.Services.Jobs
|
||||||
{
|
{
|
||||||
movieIds.Add(m.tmdbId);
|
movieIds.Add(m.tmdbId);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Log.Error("TMDBId is not > 0 for movie {0}", m.title);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
//var movieIds = movies.Select(x => x.tmdbId).ToList();
|
//var movieIds = movies.Select(x => x.tmdbId).ToList();
|
||||||
Cache.Set(CacheKeys.RadarrMovies, movieIds, CacheKeys.TimeFrameMinutes.SchedulerCaching);
|
Cache.Set(CacheKeys.RadarrMovies, movieIds, CacheKeys.TimeFrameMinutes.SchedulerCaching);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue