Explorar el Código

update channel sorting

Luke Pulverenti hace 8 años
padre
commit
cd45b0b69c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      MediaBrowser.Controller/LiveTv/LiveTvChannel.cs

+ 1 - 1
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);
                 }
             }