from Tools.ISO639 import LanguageCodes
+# ikseong for subtitle hotkey
+from Screens.InfoBar import InfoBar
+
class Subtitles(Screen, ConfigListScreen):
def __init__(self, session, infobar=None):
Screen.__init__(self, session)
self.list = []
ConfigListScreen.__init__(self, self.list)
- self.infobar = infobar or self.session.infobar
+# ikseong for subtitle hotkey
+ if self.session.infobar is None:
+ if InfoBar.instance:
+ self.infobar = InfoBar.instance
+ else:
+ self.infobar = self.session.infobar
+#
self.fillList()
self.__event_tracker = ServiceEventTracker(screen=self, eventmap=