Package elisa :: Package plugins :: Package good :: Package gstreamer_plugin :: Module gst_metadata :: Class GstMetadataClient
[hide private]
[frames] | no frames]

Class GstMetadataClient

source code


Nested Classes [hide private]

Inherited from core.component.Component: __metaclass__

Instance Methods [hide private]
 
__init__(self)
Lazily set name from class name styled with underscores (class ComponentBar -> name component_bar.
source code
 
initialize(self)
Initialize various variables internal to the Component.
source code
 
clean(self)
Perform some cleanups and save the Component config back to application's config.
source code
bool
able_to_handle(self, metadata)
Return wether this provider is able to fill in metadata, when it gets this metadata dictionary.
source code
twisted.internet.defer.Deferred
get_metadata(self, metadata, low_priority=True)
Retrieve the metadata for this metadata request and put it in there.
source code

Inherited from base_components.metadata_provider.MetadataProvider: get_rank

Inherited from core.component.Component: load_config, save_config

Inherited from extern.log.log.Loggable: debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Static Methods [hide private]

Inherited from core.component.Component: __classinit__

Class Variables [hide private]
  _supported_schemes = ['file']
  _supported_keys = set(['album', 'artist', 'file_type', 'mime_t...
string name = 'gst_metadata_client'
Component's name

Inherited from core.component.Component: checked, config_doc, default_config, id, plugin

Inherited from extern.log.log.Loggable: logCategory

Instance Variables [hide private]

Inherited from core.component.Component: config, path

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Lazily set name from class name styled with underscores (class ComponentBar -> name component_bar. Also set log category based on component name, with a 'comp_' prefix.
Overrides: core.component.Component.__init__
(inherited documentation)

initialize(self)

source code 

Initialize various variables internal to the Component.

This method is called by the plugin_registry after the component's config has been loaded.

Override this method if you need to perform some initializations that would normally go in Component's constructor but can't be done there because they require access to the component's config.
Overrides: core.component.Component.initialize
(inherited documentation)

clean(self)

source code 
Perform some cleanups and save the Component config back to application's config. This method should be called by the elisa.core.manager.Manager holding the component reference when it stops itself.
Overrides: core.component.Component.clean
(inherited documentation)

able_to_handle(self, metadata)

source code 
Return wether this provider is able to fill in metadata, when it gets this metadata dictionary.
Returns: bool
Overrides: base_components.metadata_provider.MetadataProvider.able_to_handle
(inherited documentation)

get_metadata(self, metadata, low_priority=True)

source code 
Retrieve the metadata for this metadata request and put it in there.
Returns: twisted.internet.defer.Deferred
Overrides: base_components.metadata_provider.MetadataProvider.get_metadata
(inherited documentation)

Class Variable Details [hide private]

_supported_keys

Value:
set(['album', 'artist', 'file_type', 'mime_type', 'song', 'track'])