Skip to content

Commit

Permalink
XbmcSettings: init Plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolaev-rd committed Feb 6, 2024
1 parent 172b5db commit 17c70a2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/resources/lib/xbmc_settings.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
import json

import xbmc
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from resources.lib.plugin import Plugin


class XbmcSettings:
def __init__(self, plugin: "Plugin") -> None:
self.plugin = plugin

def get_setting(self, setting_id: str):
# https://kodi.wiki/view/JSON-RPC_API/v13#Settings.GetSettingValue
try:
Expand Down

0 comments on commit 17c70a2

Please sign in to comment.