2 from Plugins.Plugin import PluginDescriptor
7 def main(session, servicelist, **kwargs):
8 # Create Instance if none present, show Dialog afterwards
10 if zapperInstance is None:
11 from WerbeZapper import WerbeZapper
12 zapperInstance = WerbeZapper(session, servicelist, cleanup)
13 zapperInstance.showSelection()
17 if zapperInstance is not None:
18 zapperInstance.shutdown()
21 def Plugins(**kwargs):
25 description="Automatically zaps back to current service after given Time",
26 where = PluginDescriptor.WHERE_EXTENSIONSMENU,