Make auto skip work with Kodi (#269)

* Make auto skip work with Kodi

* Apply change to credits as well

---------

Co-authored-by: TwistedUmbrellaX <twistedumbrella@gmail.com>
This commit is contained in:
Faheem Pervez 2024-09-02 13:10:21 +01:00 committed by GitHub
parent 0685b343ec
commit 1c8b3ccbe1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ public class AutoSkip : IHostedService, IDisposable
} }
// only need for official Android TV App and jellyfin-kodi // 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; continue;
} }

View File

@ -119,7 +119,7 @@ public class AutoSkipCredits : IHostedService, IDisposable
} }
// only need for official Android TV App and jellyfin-kodi // 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; continue;
} }