- Timestamp:
- Dec 7, 2011, 11:58:44 AM (14 years ago)
- Location:
- ipk/source.sh4/swapepg_crossepg
- Files:
-
- 1 edited
- 1 moved
-
. (moved) (moved from ipk/source.sh4/swapepg_crossepg_0_61 )
-
var/swap/extensions/CrossEPG/plugin.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ipk/source.sh4/swapepg_crossepg/var/swap/extensions/CrossEPG/plugin.py
r7451 r12090 10 10 return [] 11 11 12 def call_downloader(session, **kwargs): 13 crossepg_main.downloader(session) 14 15 def call_loaderAsPlugin(session, **kwargs): 16 crossepg_main.loaderAsPlugin(session) 17 18 def call_setup(session, **kwargs): 19 crossepg_main.setup(session) 20 21 def call_autostart(reason, session): 22 crossepg_main.autostart(reason, session) 23 12 24 def Plugins(**kwargs): 13 25 config = CrossEPG_Config() … … 18 30 description=_("An EPG downloader"), 19 31 where = [ PluginDescriptor.WHERE_EXTENSIONSMENU, PluginDescriptor.WHERE_PLUGINMENU ], 20 fnc = c rossepg_main.downloader))32 fnc = call_downloader)) 21 33 elif config.show_extension == 1: 22 34 plugins.append(PluginDescriptor(name="CrossEPG Downloader", 23 35 description=_("An EPG downloader"), 24 36 where = PluginDescriptor.WHERE_EXTENSIONSMENU, 25 fnc = c rossepg_main.downloader))37 fnc = call_downloader)) 26 38 elif config.show_plugin == 1: 27 39 plugins.append(PluginDescriptor(name="CrossEPG Downloader", 28 40 description=_("An EPG downloader"), 29 41 where = PluginDescriptor.WHERE_PLUGINMENU, 30 fnc = c rossepg_main.downloader))42 fnc = call_downloader)) 31 43 32 44 if config.isQBOXHD(): … … 34 46 description=_("CrossEPG setup panel"), 35 47 where = PluginDescriptor.WHERE_PLUGINMENU, 36 fnc = c rossepg_main.setup))48 fnc = call_setup)) 37 49 else: 38 50 plugins.append(PluginDescriptor(name="CrossEPG", … … 44 56 description = _("CrossEPG automatic actions"), 45 57 where = PluginDescriptor.WHERE_SESSIONSTART, 46 fnc = crossepg_main.autostart)) 58 fnc = call_autostart)) 59 60 if config.show_force_reload_as_plugin == 1: 61 plugins.append(PluginDescriptor(name="CrossEPG Force Reload", 62 description=_("CrossEPG Force Reload"), 63 where = PluginDescriptor.WHERE_PLUGINMENU, 64 fnc = call_loaderAsPlugin)) 65 47 66 return plugins;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/openaaf/chrome/common/titannit_trac_banner.png)