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

type Playlist

source code

                 object --+
                          |
extern.log.log.Loggable --+
                          |
                         Playlist

Instance Methods [hide private]
 
__init__(self, producer)
Create an initially empty playlist
source code
 
_findItem(self, timePosition) source code
 
_getCurrentItem(self) source code
 
removeItems(self, piid) source code
 
addItem(self, piid, timestamp, uri, offset, duration, hasAudio, hasVideo)
Add an item to the playlist.
source code
 
unlinkItem(self, item) source code

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

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

Inherited from extern.log.log.Loggable: __implemented__

Method Details [hide private]

__init__(self, producer)
(Constructor)

source code 

Create an initially empty playlist

Overrides: object.__init__

addItem(self, piid, timestamp, uri, offset, duration, hasAudio, hasVideo)

source code 

Add an item to the playlist.

This may remove overlapping entries, or adjust timestamps/durations of entries to make the new one fit.