refactor(remote): hold who licenses a remote session as one licensing mode

This commit is contained in:
imSp4rky
2026-11-29 10:16:08 -07:00
parent d4af4c77f4
commit efd8ca65c7
18 changed files with 458 additions and 160 deletions
@@ -43,6 +43,8 @@ from unshackle.core.remote_protocol import (
TRACKS_ROUTE,
APIErrorCode,
AuthStatus,
LicensingMode,
Licensor,
)
from unshackle.core.titles.movie import Movie
@@ -281,7 +283,7 @@ async def open_session(stand_in: Faulty, owner: str, status: AuthStatus) -> None
stand_in,
session_id=SESSION,
owner_key=owner,
server_cdm=True,
licensing=LicensingMode(Licensor.SERVER_CDM),
input_bridge=bridge,
log_buffer=getattr(stand_in, "log_buffer", None),
)