Update README.md
This commit is contained in:
23
README.md
23
README.md
@@ -19,6 +19,28 @@ 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.
|
||||
|
||||
@@ -75,6 +97,7 @@ cdm.close(session_id)
|
||||
|
||||
## Remote Usage
|
||||
|
||||
|
||||
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.
|
||||
Secret and device name are whatever you set them as in your config.yml file.
|
||||
|
||||
Reference in New Issue
Block a user