Compare commits

..

No commits in common. "c662f1be7a72b2d1e2e42553b9d3362a64e45179" and "5c23c918673568a7fcbabf5330f045844cf3f98d" have entirely different histories.

4 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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_handler import CECHandler
from microkodi.cec import CECHandler
from microkodi.repository import I

View File

@ -77,7 +77,7 @@ class VlcProgram(Program):
return self._process is not None and self._process.returncode is None
def is_playing(self) -> bool:
return self.get_player_info().playing
return self.get_player_info().is_playing
def resume(self):
self.__vlc_command("pl_pause")