1 # -*- coding: utf-8 -*-
3 # WeatherPlugin Converter E2
5 # Coded by Dr.Best (c) 2013
6 # Support: www.dreambox-tools.info
7 # E-Mail: dr.best@dreambox-tools.info
9 # This plugin is open source but it is NOT free software.
11 # This plugin may only be distributed to and executed on hardware which
12 # is licensed by Dream Multimedia GmbH.
14 # It's NOT allowed to distribute any parts of this plugin or its source code in ANY way
15 # to hardware which is NOT licensed by Dream Multimedia GmbH.
16 # It's NOT allowed to execute this plugin and its source code or even parts of it in ANY way
17 # on hardware which is NOT licensed by Dream Multimedia GmbH.
19 # If you want to use or modify the code or parts of it,
20 # you have to keep MY license and inform me about the modifications by mail.
23 from Plugins.Plugin import PluginDescriptor
26 def sessionstart(session, **kwargs):
27 from Components.Sources.MSNWeather import MSNWeather
28 session.screen["MSNWeather"] = MSNWeather()
30 def Plugins(**kwargs):
31 return [PluginDescriptor(where = [PluginDescriptor.WHERE_SESSIONSTART], fnc = sessionstart)]