Table of Contents
For users
If you are a normal user, just place the remote.json provided by the server operator in the root directory of the extension.
Use this remote.json
if you want to using this extension with remote cdm hosted by CDRM-Project.
Also, use of unofficial versions of extensions within the CDRM-Project website is NOT recommended.
See also: FAQ - Is it safe to use a remote CDM operated by a third party?
Requirements
- Working WVD
- Server with pywidevine installed
Guide
-
Open Python shell and run the following script on your terminal to check the system ID of your WVD
python3 from pywidevine.device import Device Device.load("/path/to/FILENAME.wvd").system_id
-
Go to following website to create a 32-character API key
https://bitwarden.com/password-generator/
Characters: 32
- A-Z
- a-z
- 0-9
- !@#$%^&*
-
Create
serve.yml
according to the following formatdevices: - '/path/to/FILENAME.wvd' users: APIKEY: username: jane devices: - FILENAME force_privacy_mode: false
-
Start the server by run the following command on your terminal
pywidevine serve /path/to/serve.yml
-
Create
remote.json
according to the following format{ "device_type":"ANDROID", "system_id":SYSTEMID, "security_level":3, "host":"https://YOURSERVER:PORT", "secret":"APIKEY", "device_name":"FILENAME" }
Check lists
- Replaced FILENAME, APIKEY, FILENAME, SYSTEMID, and YOURSERVER:PORT in the
serve.yml
andremote.json
- Checked to see if quoting was required for the replaced location (WRITE QUOTE where quotes are originally present, BUT NOT elsewhere)
- FILENAME must not include the file extension