public async Task<bool> AutoCompleteRoleAsync(VideoRoleManager manager, JryVideoInfo video) { var imdbId = video.GetValidImdbId(); if (imdbId != null) { return await manager.AutoCreateVideoRoleAsync(video.Id, new RemoteId(RemoteIdType.Imdb, imdbId)); } return false; }
public async Task <bool> AutoCompleteRoleAsync(VideoRoleManager manager, JryVideoInfo video) { var imdbId = video.GetValidImdbId(); if (imdbId != null) { return(await manager.AutoCreateVideoRoleAsync(video.Id, new RemoteId(RemoteIdType.Imdb, imdbId))); } return(false); }
public async Task <bool> AutoCompleteRoleAsync(VideoRoleManager manager, Series series) { if (!series.TheTVDBId.IsNullOrWhiteSpace()) { return(await manager.AutoCreateVideoRoleAsync(series.Id, new RemoteId(RemoteIdType.TheTVDB, series.TheTVDBId))); } return(false); }
public async Task<bool> AutoCompleteRoleAsync(VideoRoleManager manager, Series series) { if (!series.TheTVDBId.IsNullOrWhiteSpace()) { return await manager.AutoCreateVideoRoleAsync(series.Id, new RemoteId(RemoteIdType.TheTVDB, series.TheTVDBId)); } return false; }