1
0
mirror of https://github.com/fHDHR/fHDHR_NextPVR.git synced 2025-12-06 06:36:58 -05:00

Repair Stream Plugins

This commit is contained in:
deathbybandaid 2021-01-30 11:00:58 -05:00
parent e86290e9fe
commit 54e1e72104
3 changed files with 5 additions and 3 deletions

View File

@ -17,7 +17,7 @@ class Stream():
self.method = Direct_Stream(fhdhr, stream_args, tuner) self.method = Direct_Stream(fhdhr, stream_args, tuner)
else: else:
plugin_name = self.fhdhr.config.dict["streaming"]["valid_methods"][stream_args["method"]]["plugin"] plugin_name = self.fhdhr.config.dict["streaming"]["valid_methods"][stream_args["method"]]["plugin"]
self.method = self.fhdhr.plugins.plugins[plugin_name].Plugin_OBJ(self.fhdhr.plugins.plugins[plugin_name].plugin_utils, stream_args, tuner) self.method = self.fhdhr.plugins.plugins[plugin_name].Plugin_OBJ(fhdhr, self.fhdhr.plugins.plugins[plugin_name].plugin_utils, stream_args, tuner)
def get(self): def get(self):
return self.method.get() return self.method.get()

View File

@ -23,7 +23,8 @@ def setup(plugin):
class Plugin_OBJ(): class Plugin_OBJ():
def __init__(self, plugin_utils, stream_args, tuner): def __init__(self, fhdhr, plugin_utils, stream_args, tuner):
self.fhdhr = fhdhr
self.plugin_utils = plugin_utils self.plugin_utils = plugin_utils
self.stream_args = stream_args self.stream_args = stream_args
self.tuner = tuner self.tuner = tuner

View File

@ -23,7 +23,8 @@ def setup(plugin):
class Plugin_OBJ(): class Plugin_OBJ():
def __init__(self, plugin_utils, stream_args, tuner): def __init__(self, fhdhr, plugin_utils, stream_args, tuner):
self.fhdhr = fhdhr
self.plugin_utils = plugin_utils self.plugin_utils = plugin_utils
self.stream_args = stream_args self.stream_args = stream_args
self.tuner = tuner self.tuner = tuner