mirror of
https://github.com/Ingan121/Vineless.git
synced 2026-04-02 10:38:23 +00:00
* Prevent importing invalid device files * Misc panel UI changes * Allow removing site profiles without actually visiting the page * Fix special characters in the back of the site scope label going to the front of the label * Fix encoding and formatting of the exported log JSON files * Remove unused code
50 lines
1.6 KiB
JSON
50 lines
1.6 KiB
JSON
{
|
|
"type": "PLAYREADY",
|
|
"security_level": "3000",
|
|
"host": "http://127.0.0.1:5000",
|
|
"secret": "Ingan121_80c7b890f55b5755faa12fc005b8b333",
|
|
"device_name": "NVIDIA",
|
|
"name_override": "SuperGeneric Sample for PlayReadyProxy-API",
|
|
"sg_api_conf": {
|
|
"headers": {
|
|
"Content-Type": "application/json",
|
|
"X-API-KEY": "{secret}"
|
|
},
|
|
"generateChallenge": [
|
|
{
|
|
"method": "GET",
|
|
"url": "/api/playready/{device_name}/open",
|
|
"sessionIdResKeyName": "responseData.session_id"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"url": "/api/playready/{device_name}/get_challenge",
|
|
"bodyObj": {
|
|
"privacy_mode": true
|
|
},
|
|
"sessionIdKeyName": "session_id",
|
|
"psshKeyName": "pssh",
|
|
"challengeKeyName": "responseData.challenge_b64",
|
|
"bundleInKeyMessage": true
|
|
}
|
|
],
|
|
"parseLicense": [
|
|
{
|
|
"method": "POST",
|
|
"url": "/api/playready/{device_name}/get_keys",
|
|
"sessionIdKeyName": "session_id",
|
|
"licenseKeyName": "license_b64",
|
|
"contentKeysKeyName": "responseData.keys"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"url": "/api/playready/{device_name}/close/%s"
|
|
}
|
|
],
|
|
"keyParseRules": {
|
|
"keyKeyName": "key",
|
|
"kidKeyName": "key_id"
|
|
},
|
|
"messageKey": "responseData.message"
|
|
}
|
|
} |