Package flumotion :: Package component :: Package producers :: Package playlist :: Module playlist :: Class PlaylistProducer
[hide private]

Class PlaylistProducer

source code

             object --+            
                      |            
common.common.InitMixin --+        
                          |        
extern.log.log.Loggable --+        
                          |        
    component.BaseComponent --+    
                              |    
 feedcomponent010.FeedComponent --+
                                  |
                                 PlaylistProducer

Nested Classes [hide private]
child class of BaseComponentMedium componentMediumClass
the medium class to use for this component
Instance Methods [hide private]
 
init(self)
A subclass should do as little as possible in its init method.
source code
 
_buildAudioPipeline(self, pipeline, src) source code
 
_buildVideoPipeline(self, pipeline, src) source code
 
_buildPipeline(self) source code
 
_createDefaultSources(self, properties) source code
 
set_master_clock(self, ip, port, base_time) source code
 
provide_master_clock(self, port)
Tell the component to provide a master clock on the given port.
source code
 
get_master_clock(self)
Return the connection details for the network clock provided by this component, if any.
source code
 
_setupClock(self, pipeline) source code
 
timeReport(self) source code
 
getCurrentPosition(self) source code
 
scheduleItem(self, item)
Schedule a given playlist item in our playback compositions.
source code
 
unscheduleItem(self, item) source code
 
adjustItemScheduling(self, item) source code
 
addPlaylist(self, data) source code
gst.Pipeline
create_pipeline(self)
Subclasses have to implement this method.
source code
 
_watchDirectory(self, dir) source code
 
_watchFileDeleted(self, file) source code
 
_cleanMessage(self, file) source code
 
_watchFileChanged(self, file) source code
 
do_setup(self)
Sets up component.
source code

Inherited from feedcomponent010.FeedComponent: addEffect, attachPadMonitorToFeeder, bus_message_received_cb, cleanup, connect_feeders, do_pipeline_playing, do_stop, eatFromFD, feedToFD, get_element, get_element_property, get_pipeline, install_eater_continuity_watch, install_eater_event_probes, make_message_for_gstreamer_error, reconnectEater, set_element_property, set_pipeline, setup_completed, stop_pipeline, try_start_pipeline, unblock_eater

Inherited from component.BaseComponent: __init__, addMessage, adminCallRemote, check_properties, do_check, fixRenamedProperties, getMood, getName, getWorkerName, setMedium, setMood, setShutdownHook, setWorkerName, setup, stop, waitForHappy

Inherited from component.BaseComponent (private): _pollCPU, _pollMemory

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

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

Class Variables [hide private]
  logCategory = 'playlist-prod'
Implementors can provide a category to log their messages under.

Inherited from feedcomponent010.FeedComponent: FEEDER_STATS_UPDATE_FREQUENCY

Inherited from extern.log.log.Loggable: __implemented__, __provides__

Instance Variables [hide private]

Inherited from component.BaseComponent: medium, name, uiState

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

init(self)

source code 

A subclass should do as little as possible in its init method. In particular, it should not try to access resources.

Failures during init are marshalled back to the manager through the worker's remote_create method, since there is no component state proxied to the manager yet at the time of init.

Overrides: component.BaseComponent.init
(inherited documentation)

set_master_clock(self, ip, port, base_time)

source code 
Overrides: feedcomponent010.FeedComponent.set_master_clock

provide_master_clock(self, port)

source code 

Tell the component to provide a master clock on the given port.

Returns:
a deferred firing a (ip, port, base_time) triple.
Overrides: feedcomponent010.FeedComponent.provide_master_clock
(inherited documentation)

get_master_clock(self)

source code 

Return the connection details for the network clock provided by this component, if any.

Overrides: feedcomponent010.FeedComponent.get_master_clock
(inherited documentation)

create_pipeline(self)

source code 

Subclasses have to implement this method.

Returns: gst.Pipeline
Overrides: feedcomponent010.FeedComponent.create_pipeline
(inherited documentation)

do_setup(self)

source code 

Sets up component.

Invokes the create_pipeline and set_pipeline vmethods, which subclasses can provide.

Overrides: component.BaseComponent.do_setup
(inherited documentation)