Update LibraryManager.cs

This commit is contained in:
Zoe Roux 2020-12-19 22:31:19 +01:00
parent 95218269df
commit d1093eaa5a

View File

@ -110,9 +110,9 @@ namespace Kyoo.Controllers
return EpisodeRepository.Get(showID, seasonNumber, episodeNumber);
}
public Task<Track> GetTrack(string slug)
public Task<Track> GetTrack(string slug, StreamType type = StreamType.Unknow)
{
return TrackRepository.Get(slug);
return TrackRepository.Get(slug, type);
}
public Task<Genre> GetGenre(int id)