From 309da9469bd1145048f0a20af822c1b86f5d77e1 Mon Sep 17 00:00:00 2001 From: Meiam <91270@qq.com> Date: Thu, 1 Jul 2021 17:45:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B0=84=E6=89=8B=E5=AD=97?= =?UTF-8?q?=E5=B9=95=E6=8F=92=E4=BB=B6=E4=B8=BA=E8=8E=B7=E5=8F=96=E5=88=B0?= =?UTF-8?q?=E6=AD=A3=E5=B8=B8=E8=BF=94=E5=9B=9E=E5=BC=82=E5=B8=B8=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Emby.MeiamSub.DevTool/Program.cs | 4 ++-- Emby.MeiamSub.Shooter/Emby.MeiamSub.Shooter.csproj | 6 +++--- Emby.MeiamSub.Shooter/ShooterProvider.cs | 2 +- Emby.MeiamSub.Thunder/Emby.MeiamSub.Thunder.csproj | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Emby.MeiamSub.DevTool/Program.cs b/Emby.MeiamSub.DevTool/Program.cs index 9dc2955..8a993f6 100644 --- a/Emby.MeiamSub.DevTool/Program.cs +++ b/Emby.MeiamSub.DevTool/Program.cs @@ -9,8 +9,8 @@ namespace Emby.Subtitle.DevTool { static void Main(string[] args) { - //Console.WriteLine(ComputeFileHash($"X:\\Download\\喋血战士 (2020)\\喋血战士 (2020) 1080p AAC.mp4")); - Console.WriteLine(ComputeFileHash($"D:\\Documents\\Downloads\\testidx.avi")); + Console.WriteLine(ComputeFileHash($"X:\\Favorites\\Movie\\八佰 (2020)\\八佰 (2020) 1080p TrueHD.mkv")); + //Console.WriteLine(ComputeFileHash($"D:\\Documents\\Downloads\\testidx.avi")); Console.ReadKey(); } diff --git a/Emby.MeiamSub.Shooter/Emby.MeiamSub.Shooter.csproj b/Emby.MeiamSub.Shooter/Emby.MeiamSub.Shooter.csproj index 020cea4..9bdf057 100644 --- a/Emby.MeiamSub.Shooter/Emby.MeiamSub.Shooter.csproj +++ b/Emby.MeiamSub.Shooter/Emby.MeiamSub.Shooter.csproj @@ -1,8 +1,8 @@ - 1.0.1.0 - 1.0.1.0 - 1.0.1 + 1.0.2.0 + 1.0.2.0 + 1.0.2 netcoreapp3.1 diff --git a/Emby.MeiamSub.Shooter/ShooterProvider.cs b/Emby.MeiamSub.Shooter/ShooterProvider.cs index 060124a..42a10a6 100644 --- a/Emby.MeiamSub.Shooter/ShooterProvider.cs +++ b/Emby.MeiamSub.Shooter/ShooterProvider.cs @@ -104,7 +104,7 @@ namespace Emby.MeiamSub.Shooter _logger.Debug($"MeiamSub.Shooter Search | Response -> { _jsonSerializer.SerializeToString(response) }"); - if (response.StatusCode == HttpStatusCode.OK) + if (response.StatusCode == HttpStatusCode.OK && response.ContentType.Contains("application/json")) { var subtitleResponse = _jsonSerializer.DeserializeFromStream>(response.Content); diff --git a/Emby.MeiamSub.Thunder/Emby.MeiamSub.Thunder.csproj b/Emby.MeiamSub.Thunder/Emby.MeiamSub.Thunder.csproj index 8dc2e6d..3f8edd1 100644 --- a/Emby.MeiamSub.Thunder/Emby.MeiamSub.Thunder.csproj +++ b/Emby.MeiamSub.Thunder/Emby.MeiamSub.Thunder.csproj @@ -1,9 +1,9 @@  - 1.0.1.0 - 1.0.1.0 - 1.0.1 + 1.0.2.0 + 1.0.2.0 + 1.0.2