mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Update SubtitleApi.cs
This commit is contained in:
parent
dfd6f3e28e
commit
54b1aa9ba6
@ -28,7 +28,7 @@ namespace Kyoo.Api
|
||||
Track subtitle;
|
||||
try
|
||||
{
|
||||
subtitle = await _libraryManager.GetTrack(slug);
|
||||
subtitle = await _libraryManager.GetTrack(slug, StreamType.Subtitle);
|
||||
}
|
||||
catch (ArgumentException ex)
|
||||
{
|
||||
@ -152,4 +152,4 @@ namespace Kyoo.Api
|
||||
return lines;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user