mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-31 14:33:54 -04:00
Use ReadOnlySpan in GetImagesForPrograms
This commit is contained in:
parent
67308f489f
commit
d64e14fcb8
@ -459,7 +459,7 @@ namespace Emby.Server.Implementations.LiveTv.Listings
|
||||
}
|
||||
|
||||
StringBuilder str = new StringBuilder("[", 1 + (programIds.Count * 13));
|
||||
foreach (string i in programIds)
|
||||
foreach (ReadOnlySpan<char> i in programIds)
|
||||
{
|
||||
str.Append('"')
|
||||
.Append(i[..10])
|
||||
|
Loading…
x
Reference in New Issue
Block a user