TimeCodeManager

From LinuxMCE
Revision as of 18:21, 1 October 2012 by Langstonius (Talk | contribs)

Jump to: navigation, search

TimeCodeManager is the class responsible for processing timecode for external playing media. This means anything not playing locally in QOrbiter. It can be accessed as a property by "dcetimecode"

Properties

Properties are accessed by: dcetimecode.propertyname
Property Name Property Type Signal Description
tcTotalTime int totalTimeChanged() the total time, in milliseconds of the current media
tcCurrentTime int timeChanged() the current position, in milliseconds
runningTimer double positionChanged()  ??
dragTime String dragTimeChanged() the time that the slider if implemented has been dragged to.
qsTotalTime String totalStringTimeChanged() Total time of media, formatted in HH::MM::SS - updated every second
qsCurrentTime String stringTimeChanged() The current position of the media in HH:MM::SS - updated every second
stringPlaybackSpeed string sPlaybackSpeedChanged() Playback speed in string format
playbackSpeed int playbackSpeedChanged() Playback Speed in integer format

Signals

Signals not related to specific properties, but internal functions of the class itself

Signal Params Description
seekToTime(QString) String This signal is emitted when the dragging stops on the seek bar and the time to jump to in the stream is calculated. The string contains the time to jump to in milliseconds. This signal is normally connected to the dce function setMediaPosition(QString)


Functions

This is a unique class with no external functions as it does its business internally.