diff --git a/CHANGELOG.md b/CHANGELOG.md index 81a5ccd4f..28e1ca05d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Fix content repeating for up to a minute near the top of every hour - Check whether hardware-accelerated hevc codecs are supported by the NVIDIA card - Software codecs will be used if they are unsupported by the NVIDIA card +- Fix sorting of channel contents in EPG ### Changed - Regularly delete old segments from transcode folder while content is actively transcoding diff --git a/ErsatzTV.Application/ErsatzTV.Application.csproj b/ErsatzTV.Application/ErsatzTV.Application.csproj index f943a6d59..76b8b5449 100644 --- a/ErsatzTV.Application/ErsatzTV.Application.csproj +++ b/ErsatzTV.Application/ErsatzTV.Application.csproj @@ -7,7 +7,7 @@ - + diff --git a/ErsatzTV.Core.Tests/ErsatzTV.Core.Tests.csproj b/ErsatzTV.Core.Tests/ErsatzTV.Core.Tests.csproj index 70013f27d..824bd4c0c 100644 --- a/ErsatzTV.Core.Tests/ErsatzTV.Core.Tests.csproj +++ b/ErsatzTV.Core.Tests/ErsatzTV.Core.Tests.csproj @@ -7,10 +7,10 @@ - + - + diff --git a/ErsatzTV.Core/ErsatzTV.Core.csproj b/ErsatzTV.Core/ErsatzTV.Core.csproj index ffb92ad98..32fbcae06 100644 --- a/ErsatzTV.Core/ErsatzTV.Core.csproj +++ b/ErsatzTV.Core/ErsatzTV.Core.csproj @@ -7,11 +7,11 @@ - + - - + + diff --git a/ErsatzTV.Core/Iptv/ChannelGuide.cs b/ErsatzTV.Core/Iptv/ChannelGuide.cs index ffbdf9201..b3ee1470a 100644 --- a/ErsatzTV.Core/Iptv/ChannelGuide.cs +++ b/ErsatzTV.Core/Iptv/ChannelGuide.cs @@ -76,7 +76,8 @@ public class ChannelGuide } } - foreach ((Channel channel, List sorted) in sortedChannelItems.OrderBy(kvp => kvp.Key.Number)) + foreach ((Channel channel, List sorted) in sortedChannelItems.OrderBy( + kvp => decimal.Parse(kvp.Key.Number))) { var i = 0; while (i < sorted.Count && sorted[i].FillerKind != FillerKind.None && diff --git a/ErsatzTV.FFmpeg/ErsatzTV.FFmpeg.csproj b/ErsatzTV.FFmpeg/ErsatzTV.FFmpeg.csproj index 8bf72ecf5..30616e5e4 100644 --- a/ErsatzTV.FFmpeg/ErsatzTV.FFmpeg.csproj +++ b/ErsatzTV.FFmpeg/ErsatzTV.FFmpeg.csproj @@ -8,7 +8,7 @@ - + diff --git a/ErsatzTV/ErsatzTV.csproj b/ErsatzTV/ErsatzTV.csproj index 35d04420d..20906277a 100644 --- a/ErsatzTV/ErsatzTV.csproj +++ b/ErsatzTV/ErsatzTV.csproj @@ -54,11 +54,11 @@ - + - +