mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
Fixed a potential issue in the newsletter where it wouldn't send content due to missing metadata, but would mark it as if it was sent.
This commit is contained in:
parent
9a8ba3932f
commit
6b2e9760e3
2 changed files with 14 additions and 5 deletions
|
@ -51,6 +51,15 @@ namespace Ombi.Store.Entities
|
|||
public string Url { get; set; }
|
||||
|
||||
public ICollection<EmbyEpisode> Episodes { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public bool HasImdb => !string.IsNullOrEmpty(ImdbId);
|
||||
|
||||
[NotMapped]
|
||||
public bool HasTvDb => !string.IsNullOrEmpty(TvDbId);
|
||||
|
||||
[NotMapped]
|
||||
public bool HasTheMovieDb => !string.IsNullOrEmpty(TheMovieDbId);
|
||||
}
|
||||
|
||||
public enum EmbyMediaType
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue