Enums¶
Details¶
- class Clapper.DiscovererDiscoveryMode(value)¶
Bases:
GObject.GEnum
- ALWAYS = 0¶
Run discovery for every single media item added to [class`Clapper`.Queue]. This mode is useful when application presents a list of items to select from to the user before playback. It will scan every single item in queue, so user can have an updated list of items when selecting what to play.
- NONCURRENT = 1¶
Only run discovery on an item if it is not a currently selected item in [class`Clapper`.Queue]. This mode is optimal when application always plays (or at least goes into paused) after selecting item from queue. It will skip discovery of such items since they will be discovered by [class`Clapper`.Player] anyway.
- class Clapper.MarkerType(value)¶
Bases:
GObject.GEnum
- UNKNOWN = 0¶
Unknown marker type.
- TITLE = 1¶
A title marker in timeline.
- CUSTOM_1 = 101¶
- CUSTOM_2 = 102¶
- CUSTOM_3 = 103¶
- CHAPTER = 2¶
A chapter marker in timeline.
- TRACK = 3¶
A track marker in timeline.
- class Clapper.PlayerSeekMethod(value)¶
Bases:
GObject.GEnum
- ACCURATE = 0¶
Seek to exact position (slow).
- NORMAL = 1¶
Seek to approximated position.
- FAST = 2¶
Seek to position of nearest keyframe (fast).
- class Clapper.PlayerState(value)¶
Bases:
GObject.GEnum
- STOPPED = 0¶
Player is stopped.
- BUFFERING = 1¶
Player is buffering.
- PAUSED = 2¶
Player is paused.
- PLAYING = 3¶
Player is playing.
- class Clapper.QueueProgressionMode(value)¶
Bases:
GObject.GEnum
- NONE = 0¶
Queue will not change current item after playback finishes.
- CONSECUTIVE = 1¶
Queue selects items one after another until the end. When end of queue is reached, this mode will continue one another item is added to the queue, playing it if player autoplay property is set, otherwise current player state is kept.
- REPEAT_ITEM = 2¶
Queue keeps repeating current media item.
- CAROUSEL = 3¶
Queue starts from beginning after last media item.
- SHUFFLE = 4¶
Queue selects a random media item after current one. Shuffle mode will avoid reselecting previously shuffled items as long as possible. After it runs out of unused items, shuffling begins anew.
- class Clapper.StreamType(value)¶
Bases:
GObject.GEnum
- UNKNOWN = 0¶
Unknown stream type.
- VIDEO = 1¶
Stream is a
Clapper.VideoStream
.
- AUDIO = 2¶
Stream is a
Clapper.AudioStream
.
- SUBTITLE = 3¶
Stream is a
Clapper.SubtitleStream
.