mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-09 15:20:34 +02:00
update channel sorting
This commit is contained in:
parent
26c88e6ad6
commit
5600220580
|
@ -93,7 +93,7 @@ namespace MediaBrowser.Controller.LiveTv
|
||||||
|
|
||||||
if (double.TryParse(Number, NumberStyles.Any, CultureInfo.InvariantCulture, out number))
|
if (double.TryParse(Number, NumberStyles.Any, CultureInfo.InvariantCulture, out number))
|
||||||
{
|
{
|
||||||
return (number * 10).ToString("00000-") + (Name ?? string.Empty);
|
return string.Format("{0:00000.0}", number) + "-" + (Name ?? string.Empty);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue