Implement Safari video startup fixes and range streaming support
This commit is contained in:
+3
-1
@@ -15,6 +15,7 @@ MediaHive exposes a small local API used by the desktop app and frontend.
|
||||
| `POST` | `/api/scan` | Triggers a new scan if the scanner is active. |
|
||||
| `POST` | `/api/play` | Opens a media file with the system player. |
|
||||
| `POST` | `/api/open-folder` | Opens a folder in the system file explorer, or selects a file in its parent folder. |
|
||||
| `GET` | `/api/player/status` | Returns whether remote player control is currently available. |
|
||||
| `GET` | `/api/mpcbe/status` | Reports whether MPC-BE's local web interface is reachable. |
|
||||
| `GET` | `/api/media/{file_path:path}` | Serves files from the active media root. |
|
||||
| `WS` | `/api/ws` | Streams live index updates and task progress events. |
|
||||
@@ -24,4 +25,5 @@ MediaHive exposes a small local API used by the desktop app and frontend.
|
||||
- `POST /api/change-folder` validates the new folder, saves it to config, and switches the in-memory scanner asynchronously.
|
||||
- `POST /api/play` and `POST /api/open-folder` expect JSON request bodies matching the frontend calls.
|
||||
- `GET /api/media/{file_path:path}` is constrained to the current media root.
|
||||
- `GET /api/mpcbe/status` only checks the local MPC-BE web interface.
|
||||
- `GET /api/player/status` returns `{ "remote": true|false }`.
|
||||
- `GET /api/mpcbe/status` returns `false` on non-Windows platforms.
|
||||
|
||||
Reference in New Issue
Block a user