Compare commits

2 Commits

Author SHA1 Message Date
√(noham)²
faec4b1a41 Add IPv6 connectivity requirement to README 2026-01-21 22:15:08 +01:00
√(noham)²
4ec51a10ea Add debug logging to DRM key fetch process 2026-01-21 22:11:34 +01:00
3 changed files with 4 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ Cette application n'est pas affiliée à Oqee. Cette application vous permet de
- Go ([Guide d'installation](https://go.dev/doc/install))
- ffmpeg
- [mp4ff-decrypt](https://github.com/Eyevinn/mp4ff)
- **Connectivité IPv6** (le CDN est exclusivement IPv6)
```bash
go install github.com/Eyevinn/mp4ff/cmd/mp4ff-decrypt@latest
```

View File

@@ -28,6 +28,7 @@ This application is not endorsed by or affiliated with Oqee. This application en
- Go ([Installation Guide](https://go.dev/doc/install))
- ffmpeg
- [mp4ff-decrypt](https://github.com/Eyevinn/mp4ff)
- **IPv6 connectivity** (the CDN is IPv6-only)
```bash
go install github.com/Eyevinn/mp4ff/cmd/mp4ff-decrypt@latest
```

View File

@@ -18,7 +18,9 @@ def fetch_drm_keys(kid: str, api_url: str, api_key: str) -> str:
"Api-Key": api_key,
}
data = {"service": "oqee", "kid": kid}
logger.debug("Fetching DRM key for KID: %s", kid)
response = requests.post(api_url, headers=headers, json=data, timeout=10)
logger.debug("DRM key fetch response: %s", response.text)
response.raise_for_status()
return response.json()["key"]