Clapper – clapper-0.0 Reference Manual
Packages
clapper-0.0
Clapper
DiscovererDiscoveryMode
EnhancerParamFlags
MarkerType
PlayerMessageDestination
PlayerSeekMethod
PlayerState
QueueProgressionMode
ReactableItemUpdatedFlags
StreamType
Extractable
Playlistable
Reactable
AudioStream
Discoverer
EnhancerProxy
EnhancerProxyList
Feature
Harvest
Marker
MediaItem
Mpris
Player
Queue
Server
Stream
StreamList
SubtitleStream
ThreadedObject
Timeline
VideoStream
HAVE_DISCOVERER
HAVE_MPRIS
HAVE_SERVER
MAJOR_VERSION
MARKER_NO_END
MICRO_VERSION
MINOR_VERSION
QUEUE_INVALID_POSITION
STREAM_LIST_INVALID_POSITION
TIME_FORMAT
TIME_MS_FORMAT
VERSION_S
WITH_ENHANCERS_LOADER
enhancer_check
get_global_enhancer_proxies
get_major_version
get_micro_version
get_minor_version
get_version_s
init
init_check
Clapper
Description:
Content:
Interfaces:
Extractable
-
An interface for creating enhancers that resolve given URI into something playable.
Playlistable
-
An interface for creating enhancers that parse data into individual media items.
Reactable
-
An interface for creating enhancers that react to the playback and/or events that should influence it.
Classes:
AudioStream
-
Represents an audio stream within media.
Discoverer
-
An optional Discoverer feature to be added to the player.
EnhancerProxy
-
An intermediary between player and enhancer plugin.
EnhancerProxyList
-
A list of enhancer proxies.
Feature
-
A base class for creating new features for the player.
Harvest
-
An object storing data from enhancers that implement [iface@Clapper.
Marker
-
Represents a point in timeline.
MediaItem
-
Represents a media item.
Mpris
-
An optional `MPRIS` feature to add to the player.
Player
-
The media player object used for playback.
Queue
-
A queue of media to be played.
Server
-
An optional Server feature to add to the player.
Stream
-
Represents a stream within media.
StreamList
-
A list of media streams.
SubtitleStream
-
Represents a subtitle stream within media.
ThreadedObject
-
A base class for creating objects that work within a separate thread.
Timeline
-
A media timeline filled with point markers.
VideoStream
-
Represents a video stream within media.
Enums:
DiscovererDiscoveryMode
EnhancerParamFlags
-
Additional [ flags@GObject.
MarkerType
PlayerMessageDestination
PlayerSeekMethod
PlayerState
QueueProgressionMode
ReactableItemUpdatedFlags
-
Flags informing which properties were updated within [class@Clapper.
StreamType
Constants:
public
const
bool
HAVE_DISCOVERER
Check if Clapper was compiled with Discoverer feature.
public
const
bool
HAVE_MPRIS
Check if Clapper was compiled with MPRIS feature.
public
const
bool
HAVE_SERVER
Check if Clapper was compiled with Server feature.
public
const
int
MAJOR_VERSION
Clapper major version component
public
const
double
MARKER_NO_END
The value used to indicate that marker does not have an ending time specified
public
const
int
MICRO_VERSION
Clapper micro version component
public
const
int
MINOR_VERSION
Clapper minor version component
public
const
uint
QUEUE_INVALID_POSITION
The value used to refer to an invalid position in a
Queue
public
const
uint
STREAM_LIST_INVALID_POSITION
The value used to refer to an invalid position in a
StreamList
public
const
string
TIME_FORMAT
A string that can be used in printf-like format to display e.
public
const
string
TIME_MS_FORMAT
Same as [const@Clapper.
public
const
string
VERSION_S
Clapper version, encoded as a string
public
const
bool
WITH_ENHANCERS_LOADER
Check if Clapper was compiled with Enhancers Loader functionality.
Functions:
public
bool
enhancer_check
(
Type
iface_type,
string
scheme,
string
? host,
out
unowned
string
name)
Check if an enhancer of
type
is available for given
scheme
and
host
.
public
unowned
EnhancerProxyList
get_global_enhancer_proxies
()
Get a list of available enhancers in the form of [class@Clapper.
public
uint
get_major_version
()
Clapper runtime major version component
public
uint
get_micro_version
()
Clapper runtime micro version component
public
uint
get_minor_version
()
Clapper runtime minor version component
public
unowned
string
get_version_s
()
Clapper runtime version as string
public
void
init
(
ref
unowned
string
[]? argv)
Initializes the Clapper library.
public
bool
init_check
(
ref
unowned
string
[]? argv)
This function does the same thing as [func@Clapper.