Skip to content

The Free Software Media System - Server Backend & API

update channel sorting

Luke Pulverenticd45b0b69c5d
diff --git a/MediaBrowser.Controller/LiveTv/LiveTvChannel.cs b/MediaBrowser.Controller/LiveTv/LiveTvChannel.cs
index d164b5e0d9..a0ddac691b 100644
--- a/MediaBrowser.Controller/LiveTv/LiveTvChannel.cs
+++ b/MediaBrowser.Controller/LiveTv/LiveTvChannel.cs
@@ -93,7 +93,7 @@ namespace MediaBrowser.Controller.LiveTv
if (double.TryParse(Number, NumberStyles.Any, CultureInfo.InvariantCulture, out number))
{
- return number.ToString("00000-") + (Name ?? string.Empty);
+ return (number * 10).ToString("00000-") + (Name ?? string.Empty);
}
}