Update TrackRepository.cs

This commit is contained in:
Zoe Roux 2020-12-19 22:41:19 +01:00
parent f83c55bb4b
commit 037707740e

View File

@ -36,7 +36,7 @@ namespace Kyoo.Controllers
await _database.DisposeAsync();
}
public override Task<Track> Get(string slug, StreamType type = StreamType.Unknow)
public Task<Track> Get(string slug, StreamType type = StreamType.Unknow)
{
Match match = Regex.Match(slug,
@"(?<show>.*)-s(?<season>\d+)e(?<episode>\d+)\.(?<language>.{0,3})(?<forced>-forced)?(\..*)?");