diff options
| author | Marc Brooks <IDisposable@gmail.com> | 2025-03-12 10:33:27 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-12 10:33:27 -0500 |
| commit | a5f3d942f691b914b67b098f7a64406bea569aad (patch) | |
| tree | b4c73319032ef4b62d6f00e4bc9ff8971b504793 /Jellyfin.Api/Controllers/SystemController.cs | |
| parent | 114591c1aacbdf4d07e95c536ea2e42af1c5ab0d (diff) | |
| parent | 237e7bd44b3c9a6f76892be1c6a925bcde64bdbf (diff) | |
Merge branch 'master' into sort-nfo-data
Diffstat (limited to 'Jellyfin.Api/Controllers/SystemController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/SystemController.cs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Jellyfin.Api/Controllers/SystemController.cs b/Jellyfin.Api/Controllers/SystemController.cs index 6c5ce4715..0ee11c070 100644 --- a/Jellyfin.Api/Controllers/SystemController.cs +++ b/Jellyfin.Api/Controllers/SystemController.cs @@ -212,20 +212,4 @@ public class SystemController : BaseJellyfinApiController FileStream stream = new FileStream(file.FullName, FileMode.Open, FileAccess.Read, fileShare, IODefaults.FileStreamBufferSize, FileOptions.Asynchronous); return File(stream, "text/plain; charset=utf-8"); } - - /// <summary> - /// Gets wake on lan information. - /// </summary> - /// <response code="200">Information retrieved.</response> - /// <returns>An <see cref="IEnumerable{WakeOnLanInfo}"/> with the WakeOnLan infos.</returns> - [HttpGet("WakeOnLanInfo")] - [Authorize] - [Obsolete("This endpoint is obsolete.")] - [ProducesResponseType(StatusCodes.Status200OK)] - public ActionResult<IEnumerable<WakeOnLanInfo>> GetWakeOnLanInfo() - { - var result = _networkManager.GetMacAddresses() - .Select(i => new WakeOnLanInfo(i)); - return Ok(result); - } } |
