Skip to content

Commit 622ab17

Browse files
committed
Add sesid
1 parent a928bbd commit 622ab17

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

StreamingCommunity/Lib/DASH/extractor/ex_playready.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def get_playready_keys(pssh: str, license_url: str, cdm_device_path: str, header
3737
device = Device.load(cdm_device_path)
3838
cdm = Cdm.from_device(device)
3939
session_id = cdm.open()
40+
console.log(f"[cyan]Session ID: [green]{session_id}")
4041

4142
try:
4243
console.log(f"[cyan]PSSH (PR): [green]{pssh}")

StreamingCommunity/Lib/DASH/extractor/ex_widevine.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ def get_widevine_keys(pssh: str, license_url: str, cdm_device_path: str, headers
3838
device = Device.load(cdm_device_path)
3939
cdm = Cdm.from_device(device)
4040
session_id = cdm.open()
41+
console.log(f"[cyan]Session ID: [green]{session_id.hex()}")
4142

4243
try:
4344
console.log(f"[cyan]PSSH (WV): [green]{pssh}")

0 commit comments

Comments
 (0)