Beispiel #1
0
 def __init__(self):
     Plugin.__init__(self, u'media', __default_settings__, MediaMediaItem)
     self.weight = -6
     self.iconPath = u':/plugins/plugin_media.png'
     self.icon = build_icon(self.iconPath)
     # passed with drag and drop messages
     self.dnd_id = u'Media'
Beispiel #2
0
 def __init__(self):
     Plugin.__init__(self, u'alerts', __default_settings__, settings_tab_class=AlertsTab)
     self.weight = -3
     self.iconPath = u':/plugins/plugin_alerts.png'
     self.icon = build_icon(self.iconPath)
     self.alertsmanager = AlertsManager(self)
     self.manager = Manager(u'alerts', init_schema)
     self.alertForm = AlertForm(self)
Beispiel #3
0
 def __init__(self):
     """
     remotes constructor
     """
     Plugin.__init__(self, u'remotes', __default_settings__, settings_tab_class=RemoteTab)
     self.iconPath = u':/plugins/plugin_remote.png'
     self.icon = build_icon(self.iconPath)
     self.weight = -1
     self.server = None
Beispiel #4
0
 def __init__(self):
     """
     Create and set up the Songs plugin.
     """
     Plugin.__init__(self, u'songs', __default_settings__, SongMediaItem, SongsTab)
     self.manager = Manager(u'songs', init_schema, upgrade_mod=upgrade)
     self.weight = -10
     self.iconPath = u':/plugins/plugin_songs.png'
     self.icon = build_icon(self.iconPath)
Beispiel #5
0
 def __init__(self):
     """
     PluginPresentation constructor.
     """
     log.debug('Initialised')
     self.controllers = {}
     Plugin.__init__(self, 'presentations', __default_settings__, __default_settings__)
     self.weight = -8
     self.icon_path = ':/plugins/plugin_presentations.png'
     self.icon = build_icon(self.icon_path)
Beispiel #6
0
 def __init__(self):
     """
     PluginPresentation constructor.
     """
     log.debug('Initialised')
     self.controllers = {}
     Plugin.__init__(self, 'presentations', __default_settings__, __default_settings__)
     self.weight = -8
     self.icon_path = ':/plugins/plugin_presentations.png'
     self.icon = build_icon(self.icon_path)
Beispiel #7
0
 def __init__(self):
     """
     PluginPresentation constructor.
     """
     log.debug('Initialised')
     self.controllers = {}
     Plugin.__init__(self, 'presentations', __default_settings__,
                     __default_settings__)
     self.weight = -8
     self.icon_path = UiIcons().presentation
     self.icon = build_icon(self.icon_path)
     register_endpoint(presentations_endpoint)
     register_endpoint(api_presentations_endpoint)
Beispiel #8
0
 def __init__(self):
     Plugin.__init__(self, u'bibles', __default_settings__, BibleMediaItem, BiblesTab)
     self.weight = -9
     self.iconPath = u':/plugins/plugin_bibles.png'
     self.icon = build_icon(self.iconPath)
     self.manager = None
Beispiel #9
0
 def __init__(self):
     Plugin.__init__(self, u'custom', __default_settings__, CustomMediaItem, CustomTab)
     self.weight = -5
     self.manager = Manager(u'custom', init_schema)
     self.iconPath = u':/plugins/plugin_custom.png'
     self.icon = build_icon(self.iconPath)
Beispiel #10
0
 def __init__(self):
     Plugin.__init__(self, u'images', __default_settings__, ImageMediaItem, ImageTab)
     self.weight = -7
     self.iconPath = u':/plugins/plugin_images.png'
     self.icon = build_icon(self.iconPath)
     QtCore.QObject.connect(Receiver.get_receiver(), QtCore.SIGNAL(u'image_updated'), self.image_updated)