mirror of https://github.com/Ombi-app/Ombi
fix(media-sync): Add sanity checks upon media server sync (#4493)
* Add sanity checks upon media server sync Fixes Media content may be improperly imported into Ombi #4472 * Fix Jellyfin sync * Refactor Emby and Jellyfin provider ids * Use new method Any * Fix log formattingpull/4500/head
parent
4e7546f635
commit
9915234d38
@ -0,0 +1,11 @@
|
||||
namespace Ombi.Api.MediaServer.Models
|
||||
{
|
||||
public class BaseProviderids
|
||||
{
|
||||
public string Tmdb { get; set; }
|
||||
public string Imdb { get; set; }
|
||||
public string Tvdb { get; set; }
|
||||
public bool Any() =>
|
||||
!string.IsNullOrEmpty(Imdb) || !string.IsNullOrEmpty(Tmdb) || !string.IsNullOrEmpty(Tvdb);
|
||||
}
|
||||
}
|
Loading…
Reference in new issue