Merge pull request #37 from AnonymusRaccoon/subrip

Fixing subrip subtitles
This commit is contained in:
Zoe Roux
2021-08-29 13:56:11 +02:00
committed by GitHub
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ jobs:
brew install ffmpeg
else
# sudo add-apt-repository -y "deb http://azure.archive.ubuntu.com/ubuntu groovy main multiverse restricted universe"
# sudo apt-get update -y
sudo apt-get update
sudo apt-get install -y libavutil-dev libavcodec-dev libavformat-dev
fi
- name: Enabling windows compilations tools
+1 -1
View File
@@ -51,7 +51,7 @@ namespace Kyoo.Api
{
string extension = null;
if (slug.Count(x => x == '.') == 2)
if (slug.Count(x => x == '.') == 3)
{
int idx = slug.LastIndexOf('.');
extension = slug[(idx + 1)..];