devine-dl/pywidevine

Add endpoint /device to get device information

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
Currently RemoteCdm needs the Device Type, System ID and Security Level specified manually with absolutely no context to base off of.
When /open is called, it has to verify the values to be correct. However, what if you need to find out the values beforehand? No options without asking whoever is serving.

Describe the solution you'd like
A get call to /device e.g., /device/test_device_001 will return the Device Type, System ID, and Security Level for test_device_001. This endpoint could even be automated as part of the RemoteCdm construction procedure, before the super call.

Describe alternatives you've considered
N/A

Additional context
N/A