rework series timer page

pull/702/head
Luke Pulverenti 8 years ago
parent 071f455d58
commit b399ce8dbc

@ -73,8 +73,13 @@ namespace MediaBrowser.Dlna
lock (_profiles) lock (_profiles)
{ {
var list = _profiles.Values.ToList(); var list = _profiles.Values.ToList();
return list.Select(i => i.Item2).OrderBy(i => i.Name); return list
.OrderBy(i => i.Item1.Info.Type == DeviceProfileType.User ? 0 : 1)
.ThenBy(i => i.Item1.Info.Name)
.Select(i => i.Item2)
.ToList();
} }
} }
public DeviceProfile GetDefaultProfile() public DeviceProfile GetDefaultProfile()

Loading…
Cancel
Save