1 # for localized messages
5 from Plugins.Plugin import PluginDescriptor
10 def main(session, servicelist, **kwargs):
11 # Create Instance if none present, show Dialog afterwards
13 if zapperInstance is None:
14 from WerbeZapper import WerbeZapper
15 zapperInstance = WerbeZapper(session, servicelist, cleanup)
16 zapperInstance.showSelection()
20 if zapperInstance is not None:
21 zapperInstance.shutdown()
24 def Plugins(**kwargs):
28 description = _("Automatically zaps back to current service after given Time"),
29 where = PluginDescriptor.WHERE_EXTENSIONSMENU,