This commit is contained in:
PapaTutuWawa 2025-01-12 22:31:53 +01:00
parent 5c23c91867
commit 9cbdcee4ab
3 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ class PlayerRpcObject(JsonRpcObject):
# Turn on the TV # Turn on the TV
config: Config = I.get("Config") config: Config = I.get("Config")
if config.cec: if config.cec:
I.get("CECHandler").power_of_if_needed() I.get("CECHandler").power_on_if_needed()
I.get("DataBridge").set_loading(True) I.get("DataBridge").set_loading(True)
url = urlparse(params["item"]["file"]) url = urlparse(params["item"]["file"])

View File

@ -13,7 +13,7 @@ from PySide6.QtQml import QQmlApplicationEngine
from microkodi.jsonrpc import JsonRpcHandler, GlobalMethodHandler from microkodi.jsonrpc import JsonRpcHandler, GlobalMethodHandler
from microkodi.ui.bridge import DataBridge from microkodi.ui.bridge import DataBridge
from microkodi.config import Config, load_config from microkodi.config import Config, load_config
from microkodi.cec import CECHandler from microkodi.cec_handler import CECHandler
from microkodi.repository import I from microkodi.repository import I