Updated Using with Remote CDM (markdown)
parent
c56c47b7ae
commit
9ca83da1fa
@ -1 +1,59 @@
|
|||||||
Todo
|
# 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.
|
||||||
|
|
||||||
|
# Requirements
|
||||||
|
* Working WVD
|
||||||
|
* Server with pywidevine installed
|
||||||
|
|
||||||
|
# Guide
|
||||||
|
1. Open Python shell on your terminal
|
||||||
|
```
|
||||||
|
python3
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Run the following script to check the system ID of your WVD.
|
||||||
|
```
|
||||||
|
Device.load("/path/to/=FILENAME=.wvd").system_id
|
||||||
|
```
|
||||||
|
|
||||||
|
3. Go to following website to create a 32-character API key
|
||||||
|
|
||||||
|
https://bitwarden.com/password-generator/
|
||||||
|
|
||||||
|
**Characters: 32**
|
||||||
|
|
||||||
|
- [x] **A-Z**
|
||||||
|
- [x] **a-z**
|
||||||
|
- [x] **0-9**
|
||||||
|
- [ ] **!@#$%^&\***
|
||||||
|
|
||||||
|
4. Create `serve.yml` according to the following format
|
||||||
|
```
|
||||||
|
devices:
|
||||||
|
- '/path/to/FILENAME.wvd'
|
||||||
|
|
||||||
|
users:
|
||||||
|
APIKEY:
|
||||||
|
username: jane
|
||||||
|
devices:
|
||||||
|
- FILENAME
|
||||||
|
|
||||||
|
force_privacy_mode: false
|
||||||
|
```
|
||||||
|
|
||||||
|
5. Start the server by run the following command on your terminal
|
||||||
|
```
|
||||||
|
pywidevine serve /path/to/serve.yml
|
||||||
|
```
|
||||||
|
|
||||||
|
6. 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"
|
||||||
|
}
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user