forked from kenzuya/unshackle
refactor(remote): hold who licenses a remote session as one licensing mode
This commit is contained in:
@@ -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),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user