From 9cbdcee4abbfb497a2e0fd9046915f4c0fbc3672 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Sun, 12 Jan 2025 22:31:53 +0100 Subject: [PATCH] fix typo --- microkodi/{cec.py => cec_handler.py} | 0 microkodi/jsonrpc.py | 2 +- microkodi/main.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename microkodi/{cec.py => cec_handler.py} (100%) diff --git a/microkodi/cec.py b/microkodi/cec_handler.py similarity index 100% rename from microkodi/cec.py rename to microkodi/cec_handler.py diff --git a/microkodi/jsonrpc.py b/microkodi/jsonrpc.py index e025f74..f5f7fb8 100644 --- a/microkodi/jsonrpc.py +++ b/microkodi/jsonrpc.py @@ -154,7 +154,7 @@ class PlayerRpcObject(JsonRpcObject): # Turn on the TV config: Config = I.get("Config") if config.cec: - I.get("CECHandler").power_of_if_needed() + I.get("CECHandler").power_on_if_needed() I.get("DataBridge").set_loading(True) url = urlparse(params["item"]["file"]) diff --git a/microkodi/main.py b/microkodi/main.py index 6d0927c..a2d49da 100644 --- a/microkodi/main.py +++ b/microkodi/main.py @@ -13,7 +13,7 @@ from PySide6.QtQml import QQmlApplicationEngine from microkodi.jsonrpc import JsonRpcHandler, GlobalMethodHandler from microkodi.ui.bridge import DataBridge from microkodi.config import Config, load_config -from microkodi.cec import CECHandler +from microkodi.cec_handler import CECHandler from microkodi.repository import I