Merging with master

This commit is contained in:
Zoe Roux 2021-08-29 15:36:53 +02:00 committed by Diabltica
commit c44272a098
3 changed files with 2 additions and 3 deletions

View File

@ -36,7 +36,6 @@ 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 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

@ -1 +1 @@
Subproject commit ef7b22523d9f7f55a4b385ab1565f421c2212dae Subproject commit a3da5f1e6edb982e3b71792a7ea6fcd45661c337

View File

@ -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)..];