mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-11-04 03:27:14 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			566 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			566 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using Kyoo.Models;
 | 
						|
using System.Collections.Generic;
 | 
						|
using System.Threading.Tasks;
 | 
						|
 | 
						|
namespace Kyoo.Controllers
 | 
						|
{
 | 
						|
	public interface IMetadataProvider
 | 
						|
	{
 | 
						|
		ProviderID Provider { get; }
 | 
						|
 | 
						|
		Task<Collection> GetCollectionFromName(string name);
 | 
						|
 | 
						|
		Task<Show> GetShowByID(Show show);
 | 
						|
		Task<IEnumerable<Show>> SearchShows(string showName, bool isMovie);
 | 
						|
		Task<IEnumerable<PeopleLink>> GetPeople(Show show);
 | 
						|
 | 
						|
		Task<Season> GetSeason(Show show, long seasonNumber);
 | 
						|
 | 
						|
		Task<Episode> GetEpisode(Show show, long seasonNumber, long episodeNumber, long absoluteNumber);
 | 
						|
	}
 | 
						|
}
 |