Added plugin icons. Thx to JackDaniel
[enigma2-plugins.git] / orfat / src / plugin.py
1 ##\r
2 ## ORF.at streaming modules\r
3 ## by AliAbdul\r
4 ##
5 from ORFIPTV import ORFMain as ORFIPTVMain
6 from ORFonDemand import ORFMain as ORFonDemandMain
7 from Plugins.Plugin import PluginDescriptor
8
9 ####################################################
10
11 def mainORFIPTV(session, **kwargs):
12         session.open(ORFIPTVMain)
13
14 def mainORFonDemand(session, **kwargs):
15         session.open(ORFonDemandMain)
16
17 def Plugins(**kwargs):
18         return [
19                 PluginDescriptor(name="ORF.at IPTV", description="IPTV-Sendungen von ORF.at anschauen", where=[PluginDescriptor.WHERE_EXTENSIONSMENU, PluginDescriptor.WHERE_PLUGINMENU], icon="orf.png", fnc=mainORFIPTV),
20                 PluginDescriptor(name="ORF.at onDemand", description="onDemand-Sendungen von ORF.at anschauen", where=[PluginDescriptor.WHERE_EXTENSIONSMENU, PluginDescriptor.WHERE_PLUGINMENU], icon="orf_ondemand.png", fnc=mainORFonDemand)]