mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 21:37:10 -04:00
rework series timer page
This commit is contained in:
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…
Reference in New Issue
Block a user