mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-10-30 10:12:36 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			562 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			562 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<PeopleRole>> GetPeople(Show show);
 | |
| 
 | |
| 		Task<Season> GetSeason(Show show, int seasonNumber);
 | |
| 
 | |
| 		Task<Episode> GetEpisode(Show show, int seasonNumber, int episodeNumber, int absoluteNumber);
 | |
| 	}
 | |
| }
 |