mirror of
https://github.com/fHDHR/fHDHR_NextPVR.git
synced 2025-12-06 03:36:58 -05:00
Repair Stream Plugins
This commit is contained in:
parent
e86290e9fe
commit
54e1e72104
@ -17,7 +17,7 @@ class Stream():
|
||||
self.method = Direct_Stream(fhdhr, stream_args, tuner)
|
||||
else:
|
||||
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):
|
||||
return self.method.get()
|
||||
|
||||
@ -23,7 +23,8 @@ def setup(plugin):
|
||||
|
||||
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.stream_args = stream_args
|
||||
self.tuner = tuner
|
||||
|
||||
@ -23,7 +23,8 @@ def setup(plugin):
|
||||
|
||||
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.stream_args = stream_args
|
||||
self.tuner = tuner
|
||||
|
||||
Loading…
Reference in New Issue
Block a user