Add pmocovers integration for external cover URL proxying

- Introduce optional `pmocover` dependency in pmocontrol
- Add cover URL transformation logic for both REST and SSE endpoints using `pmocovers::proxy_cover_url`/sync
- Refactor `/covers/proxy?...=` handler to accept any external URL and return local cached route
- Implement helper functions `transform_cover_url` (async) & sync variant for consistent cover URL normalization
- Update Cargo.lock to include `pmocovers`
This commit is contained in:
2026-04-04 12:04:40 +02:00
parent bdaee820ad
commit ea5936717a
6 changed files with 224 additions and 61 deletions

1
Cargo.lock generated
View File

@@ -3996,6 +3996,7 @@ dependencies = [
"futures-util",
"mdns",
"percent-encoding",
"pmocovers",
"pmodidl",
"pmoserver",
"pmoupnp",