devine-dl/pywidevine

Auto select device in whitelist?

Closed this issue · 3 comments

It would be great if remote cdm can select random device in user's whitelist automatically.
Thus, users no need to provide specific device in api request if they have multiple device key.

The selection of a random device could be problematic in relation to licensing server robustness though. So I don't know if that's the best idea.

Yes i am agree with @rlaphoenix it's a bit hard to keep the session if we give random device.

I don't think I will implement this as I do not personally see the need. If you want to randomly choose a device you can always do this on the client side where you list out what devices the user has, then randomly choose one from the list yourself.