From 1c8b3ccbe1cbb8a2525455c8dd3bf71b2f5278f7 Mon Sep 17 00:00:00 2001 From: Faheem Pervez Date: Mon, 2 Sep 2024 13:10:21 +0100 Subject: [PATCH] Make auto skip work with Kodi (#269) * Make auto skip work with Kodi * Apply change to credits as well --------- Co-authored-by: TwistedUmbrellaX --- ConfusedPolarBear.Plugin.IntroSkipper/AutoSkip.cs | 2 +- ConfusedPolarBear.Plugin.IntroSkipper/AutoSkipCredits.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/AutoSkip.cs b/ConfusedPolarBear.Plugin.IntroSkipper/AutoSkip.cs index 638daee..ab441e9 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/AutoSkip.cs +++ b/ConfusedPolarBear.Plugin.IntroSkipper/AutoSkip.cs @@ -119,7 +119,7 @@ public class AutoSkip : IHostedService, IDisposable } // only need for official Android TV App and jellyfin-kodi - else if (session.Client != "Android TV" || session.Client != "Kodi") + else if (session.Client != "Android TV" && session.Client != "Kodi") { continue; } diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/AutoSkipCredits.cs b/ConfusedPolarBear.Plugin.IntroSkipper/AutoSkipCredits.cs index edc9525..f7a7720 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/AutoSkipCredits.cs +++ b/ConfusedPolarBear.Plugin.IntroSkipper/AutoSkipCredits.cs @@ -119,7 +119,7 @@ public class AutoSkipCredits : IHostedService, IDisposable } // only need for official Android TV App and jellyfin-kodi - else if (session.Client != "Android TV" || session.Client != "Kodi") + else if (session.Client != "Android TV" && session.Client != "Kodi") { continue; }