Пример #1
0
 def enableFCC(self):
     if self.oldFccEnable:
         try:
             config.plugins.fccsetup.activate.value = self.oldFccEnable
             from Plugins.SystemPlugins.FastChannelChange.plugin import FCCChanged
             FCCChanged()
         except:
             pass
Пример #2
0
 def disableFCC(self):
     try:
         self.oldFccEnable = config.plugins.fccsetup.activate.value
         if self.oldFccEnable:
             config.plugins.fccsetup.activate.value = False
             from Plugins.SystemPlugins.FastChannelChange.plugin import FCCChanged
             FCCChanged()
     except:
         self.oldFccEnable = False