aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Emby.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs b/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs
index d26aed94f..bd4b5639c 100644
--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs
+++ b/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs
@@ -462,7 +462,7 @@ namespace Emby.Server.Implementations.LiveTv.Listings
foreach (ReadOnlySpan<char> i in programIds)
{
str.Append('"')
- .Append(i[..10])
+ .Append(i.Slice(0, 10))
.Append("\",");
}