From 426cc70a04b715a8e5f0428bcb9b634c1e05bcf0 Mon Sep 17 00:00:00 2001 From: BitMaster Admin Date: Wed, 26 Mar 2025 08:22:12 +0000 Subject: [PATCH] Update README.md --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 9eeb2d5..2b5650e 100644 --- a/README.md +++ b/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.