From 4f0800c9904b825991a9c64af51adc4a2e0a15e8 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Sat, 19 Dec 2020 22:29:39 +0100 Subject: [PATCH] Update IRepository.cs --- Kyoo.Common/Controllers/IRepository.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Kyoo.Common/Controllers/IRepository.cs b/Kyoo.Common/Controllers/IRepository.cs index 3aee67c4..b5d527b3 100644 --- a/Kyoo.Common/Controllers/IRepository.cs +++ b/Kyoo.Common/Controllers/IRepository.cs @@ -145,7 +145,11 @@ namespace Kyoo.Controllers Task Delete(string showSlug, int seasonNumber, int episodeNumber); } - public interface ITrackRepository : IRepository { } + public interface ITrackRepository : IRepository + { + Task Get(string slug, StreamType type = StreamType.Unknow); + } + public interface ILibraryRepository : IRepository { } public interface ILibraryItemRepository : IRepository @@ -221,4 +225,4 @@ namespace Kyoo.Controllers } public interface IProviderRepository : IRepository {} -} \ No newline at end of file +}