Update README.md

This commit is contained in:
2025-03-26 08:58:11 +00:00
parent cdc1220d5d
commit 84d9a3e137

View File

@@ -19,28 +19,6 @@ Test a playready device:
pyplayready test DEVICE.prd
```
## Start pyplayready as Server
Serve your local CDM and Playready Devices Remotely.
Usage: pyplayready serve [OPTIONS] CONFIG_PATH
[CONFIG_PATH] is a path to a serve config file. See `serve.example.yml` for an example config file.
Example:
```shell
pyplayready serve -h 0.0.0.0 -p 9999 /root/pyplayready/serve.yml
```
> [!IMPORTANT]
> Host as 127.0.0.1 may block remote access even if port-forwarded. Instead, use 0.0.0.0 and ensure the TCP port you choose is forwarded.
Options:
-h, --host TEXT Host to serve from.
-p, --port INTEGER Port to serve from.
--help Show this message and exit.
> [!IMPORTANT]
> There currently isn't a proper method of extracting Group Certificates/Keys. They can be found inside older Samsung phones/Smart TVs, Windows DLLs and set-top-boxes in encrypted form.
@@ -97,6 +75,27 @@ cdm.close(session_id)
## Remote Usage
## Start pyplayready as Server
Serve your local CDM and Playready Devices Remotely.
Usage: pyplayready serve [OPTIONS] CONFIG_PATH
[CONFIG_PATH] is a path to a serve config file. See `serve.example.yml` for an example config file.
Example:
```shell
pyplayready serve -h 0.0.0.0 -p 9999 /root/pyplayready/serve.yml
```
> [!IMPORTANT]
> Host as 127.0.0.1 may block remote access even if port-forwarded. Instead, use 0.0.0.0 and ensure the TCP port you choose is forwarded.
Options:
-h, --host TEXT Host to serve from.
-p, --port INTEGER Port to serve from.
--help Show this message and exit.
## Script for remote Key request
Security level is either 2000 or 3000 depending on your device level.
Host is the ip address and port that pyplayready is running on. When you start serving it will display these details.