diff options
| author | Bond_009 <bond.009@outlook.com> | 2023-11-14 20:21:34 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2023-11-14 21:16:33 +0100 |
| commit | 635d67d458e02df53a1b08998ccd3cff16e76ac3 (patch) | |
| tree | 1bdeba7597d587fdfeaf058e9b321f40080a3c74 /Jellyfin.Api/Helpers/HlsHelpers.cs | |
| parent | 0fd36a5bf1fc87ebbfd5b74585f0c080995c1688 (diff) | |
Revert "Use System.Net.IPNetwork"
This reverts commit 117d05d288da1d412159a29c0cb8d5c8259e48ae.
Diffstat (limited to 'Jellyfin.Api/Helpers/HlsHelpers.cs')
| -rw-r--r-- | Jellyfin.Api/Helpers/HlsHelpers.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Helpers/HlsHelpers.cs b/Jellyfin.Api/Helpers/HlsHelpers.cs index 2155e305d..e2d3bfb19 100644 --- a/Jellyfin.Api/Helpers/HlsHelpers.cs +++ b/Jellyfin.Api/Helpers/HlsHelpers.cs @@ -53,7 +53,7 @@ public static class HlsHelpers break; } - if (line.IndexOf("#EXTINF:", StringComparison.OrdinalIgnoreCase) != -1) + if (line.Contains("#EXTINF:", StringComparison.OrdinalIgnoreCase)) { count++; if (count >= segmentCount) |
