![]() |
![]() |
![]() |
Parole Plugins Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
enum ParoleMediaType; enum ParoleState; struct ParoleStream; struct ParoleStreamClass; void parole_stream_init_properties (ParoleStream *stream
); ParoleStream * parole_stream_new (void
);
"absolute-duration" gint64 : Read / Write "album" gchar* : Read / Write "artist" gchar* : Read / Write "comment" gchar* : Read / Write "disp-par-d" guint : Read / Write "disp-par-n" guint : Read / Write "duration" gint64 : Read / Write "has-audio" gboolean : Read / Write "has-video" gboolean : Read / Write "live" gboolean : Read / Write "media-type" ParoleMediaType : Read / Write "num-tracks" guint : Read / Write "seekable" gboolean : Read / Write "subtitles" gchar* : Read / Write "tag-available" gboolean : Read / Write "title" gchar* : Read / Write "track" guint : Read / Write "uri" gchar* : Read / Write "video-height" gint : Read / Write "video-width" gint : Read / Write "year" gchar* : Read / Write
typedef enum { PAROLE_MEDIA_TYPE_UNKNOWN, PAROLE_MEDIA_TYPE_LOCAL_FILE, PAROLE_MEDIA_TYPE_CDDA, PAROLE_MEDIA_TYPE_VCD, PAROLE_MEDIA_TYPE_SVCD, PAROLE_MEDIA_TYPE_DVD, PAROLE_MEDIA_TYPE_DVB, PAROLE_MEDIA_TYPE_REMOTE } ParoleMediaType;
typedef enum { PAROLE_STATE_STOPPED = 0, PAROLE_STATE_PLAYBACK_FINISHED, PAROLE_STATE_ABOUT_TO_FINISH, PAROLE_STATE_PAUSED, PAROLE_STATE_PLAYING } ParoleState;
"absolute-duration"
property"absolute-duration" gint64 : Read / Write
Absolution duration.
Allowed values: >= 0
Default value: 0
Since 0.2
"comment"
property"comment" gchar* : Read / Write
Extra comment block.
Default value: NULL
Since 0.2
"disp-par-d"
property"disp-par-d" guint : Read / Write
Disp par d.
Allowed values: >= 1
Default value: 1
"disp-par-n"
property"disp-par-n" guint : Read / Write
Disp par n.
Allowed values: >= 1
Default value: 1
Since 0.2
"duration"
property"duration" gint64 : Read / Write
Duration.
Allowed values: >= 0
Default value: 0
Since 0.2
"has-audio"
property"has-audio" gboolean : Read / Write
Whether the stream has audio.
Default value: FALSE
Since 0.2
"has-video"
property"has-video" gboolean : Read / Write
Whether the stream has video.
Default value: FALSE
Since 0.2
"live"
property"live" gboolean : Read / Write
Whether the stream is a live stream.
Default value: FALSE
Since 0.2
"media-type"
property"media-type" ParoleMediaType : Read / Write
The media type.
Default value: PAROLE_MEDIA_TYPE_UNKNOWN
Since 0.2
"num-tracks"
property"num-tracks" guint : Read / Write
Number of tracks in the cdda source, only valid if ParoleStream:media-type: is PAROLE_MEDIA_TYPE_CDDA.
Allowed values: [1,99]
Default value: 1
Since 0.2
"seekable"
property"seekable" gboolean : Read / Write
Whether the stream is seekable, for example live streams are not seekable.
Default value: FALSE
Since 0.2
"subtitles"
property"subtitles" gchar* : Read / Write
Subtitles path, this is only valid if the property "media-type" has the value PAROLE_MEDIA_TYPE_LOCAL_FILE.
Default value: NULL
Since 0.2
"tag-available"
property"tag-available" gboolean : Read / Write
Whether tags information are available on the current stream.
Default value: FALSE
Since 0.2
"track"
property"track" guint : Read / Write
Currently playing track, this is only valid if "media-type": is PAROLE_MEDIA_TYPE_CDDA.
Allowed values: [1,99]
Default value: 1
Since 0.2
"video-height"
property"video-height" gint : Read / Write
Video height.
Allowed values: >= 0
Default value: 0
Since 0.2
"video-width"
property"video-width" gint : Read / Write
Video width.
Allowed values: >= 0
Default value: 0
Since 0.2