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

Class 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, position) 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 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-list'
Implementors can provide a category to log their messages under.

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

Properties [hide private]

Inherited from object: __class__

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.