mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
Update to 3.5.2 and .net core 2.1
This commit is contained in:
@@ -35,6 +35,7 @@ namespace MediaBrowser.Api.System
|
||||
}
|
||||
|
||||
[Route("/System/Ping", "POST")]
|
||||
[Route("/System/Ping", "GET")]
|
||||
public class PingSystem : IReturnVoid
|
||||
{
|
||||
|
||||
@@ -79,6 +80,13 @@ namespace MediaBrowser.Api.System
|
||||
public string Name { get; set; }
|
||||
}
|
||||
|
||||
[Route("/System/WakeOnLanInfo", "GET", Summary = "Gets wake on lan information")]
|
||||
[Authenticated]
|
||||
public class GetWakeOnLanInfo : IReturn<WakeOnLanInfo[]>
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Class SystemInfoService
|
||||
/// </summary>
|
||||
@@ -116,6 +124,13 @@ namespace MediaBrowser.Api.System
|
||||
return _appHost.Name;
|
||||
}
|
||||
|
||||
public object Get(GetWakeOnLanInfo request)
|
||||
{
|
||||
var result = _appHost.GetWakeOnLanInfo();
|
||||
|
||||
return ToOptimizedResult(result);
|
||||
}
|
||||
|
||||
public object Get(GetServerLogs request)
|
||||
{
|
||||
IEnumerable<FileSystemMetadata> files;
|
||||
|
||||
Reference in New Issue
Block a user