mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Update TrackRepository.cs
This commit is contained in:
parent
f83c55bb4b
commit
037707740e
@ -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)?(\..*)?");
|
||||
|
Loading…
x
Reference in New Issue
Block a user