diff options
| author | JPVenson <github@jpb.software> | 2025-03-01 14:16:49 +0000 |
|---|---|---|
| committer | JPVenson <github@jpb.software> | 2025-03-01 14:16:49 +0000 |
| commit | feea5af2f3f138c731ae46ca92b67039f6ab96f6 (patch) | |
| tree | 769b727dc848b3be94e0d12e741a4a3d2f00e2d8 /Jellyfin.Api | |
| parent | a6b4d124d71c0bbb9dff5f226e65875e03384ab4 (diff) | |
| parent | 04f7cd6011633f51a4ae50c81141a390d8164bbc (diff) | |
Merge remote-tracking branch 'jellyfinorigin/master' into feature/DatabaseRefactor
Diffstat (limited to 'Jellyfin.Api')
| -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); - } } |
