From cdf1d103db0fcdedcac7e5ed395266dcecea6a0a Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Sun, 29 Aug 2021 13:36:49 +0200 Subject: [PATCH 1/2] Player: Fixing subrip subtitles --- Kyoo.WebApp/Front | 2 +- Kyoo/Views/SubtitleApi.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Kyoo.WebApp/Front b/Kyoo.WebApp/Front index dca10903..865b82ec 160000 --- a/Kyoo.WebApp/Front +++ b/Kyoo.WebApp/Front @@ -1 +1 @@ -Subproject commit dca10903ff54a8999732695b5c2a0a5c94f85200 +Subproject commit 865b82ec43f37b8afc173259b66566d8ad4c18de diff --git a/Kyoo/Views/SubtitleApi.cs b/Kyoo/Views/SubtitleApi.cs index e4f94887..b6681841 100644 --- a/Kyoo/Views/SubtitleApi.cs +++ b/Kyoo/Views/SubtitleApi.cs @@ -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)..]; From 7e5df9fee7f13512c499905922f51ac49c76ac22 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Sun, 29 Aug 2021 13:43:13 +0200 Subject: [PATCH 2/2] CI: updating ubuntu packets before install --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bd06596b..ecbb0b21 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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