mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Merge pull request #37 from AnonymusRaccoon/subrip
Fixing subrip subtitles
This commit is contained in:
commit
b8a5ebdc86
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
|||||||
brew install ffmpeg
|
brew install ffmpeg
|
||||||
else
|
else
|
||||||
# sudo add-apt-repository -y "deb http://azure.archive.ubuntu.com/ubuntu groovy main multiverse restricted universe"
|
# 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
|
sudo apt-get install -y libavutil-dev libavcodec-dev libavformat-dev
|
||||||
fi
|
fi
|
||||||
- name: Enabling windows compilations tools
|
- name: Enabling windows compilations tools
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit dca10903ff54a8999732695b5c2a0a5c94f85200
|
Subproject commit 865b82ec43f37b8afc173259b66566d8ad4c18de
|
@ -51,7 +51,7 @@ namespace Kyoo.Api
|
|||||||
{
|
{
|
||||||
string extension = null;
|
string extension = null;
|
||||||
|
|
||||||
if (slug.Count(x => x == '.') == 2)
|
if (slug.Count(x => x == '.') == 3)
|
||||||
{
|
{
|
||||||
int idx = slug.LastIndexOf('.');
|
int idx = slug.LastIndexOf('.');
|
||||||
extension = slug[(idx + 1)..];
|
extension = slug[(idx + 1)..];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user