![]() |
![]() |
![]() |
lomo Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties | Signals |
#define LOMO_TAG_ALBUM #define LOMO_TAG_ALBUM_GAIN #define LOMO_TAG_ALBUM_PEAK #define LOMO_TAG_ALBUM_SORTNAME #define LOMO_TAG_ALBUM_VOLUME_COUNT #define LOMO_TAG_ALBUM_VOLUME_NUMBER #define LOMO_TAG_ARTIST #define LOMO_TAG_ARTIST_SORTNAME #define LOMO_TAG_ATTACHMENT #define LOMO_TAG_AUDIO_CODEC #define LOMO_TAG_BEATS_PER_MINUTE #define LOMO_TAG_BITRATE #define LOMO_TAG_CODEC #define LOMO_TAG_COMMENT #define LOMO_TAG_COMPOSER #define LOMO_TAG_CONTACT #define LOMO_TAG_COPYRIGHT #define LOMO_TAG_COPYRIGHT_URI #define LOMO_TAG_DATE #define LOMO_TAG_DESCRIPTION #define LOMO_TAG_DURATION #define LOMO_TAG_ENCODER #define LOMO_TAG_ENCODER_VERSION #define LOMO_TAG_EXTENDED_COMMENT #define LOMO_TAG_GENRE #define LOMO_TAG_GEO_LOCATION_LATITUDE #define LOMO_TAG_GEO_LOCATION_LONGITUDE #define LOMO_TAG_GEO_LOCATION_NAME #define LOMO_TAG_IMAGE #define LOMO_TAG_INVALID #define LOMO_TAG_ISRC #define LOMO_TAG_KEYWORDS #define LOMO_TAG_LANGUAGE_CODE #define LOMO_TAG_LICENSE #define LOMO_TAG_LICENSE_URI #define LOMO_TAG_LOCATION #define LOMO_TAG_MAXIMUM_BITRATE #define LOMO_TAG_MINIMUM_BITRATE #define LOMO_TAG_NOMINAL_BITRATE #define LOMO_TAG_ORGANIZATION #define LOMO_TAG_PERFORMER #define LOMO_TAG_PREVIEW_IMAGE #define LOMO_TAG_REFERENCE_LEVEL #define LOMO_TAG_SERIAL #define LOMO_TAG_TITLE #define LOMO_TAG_TITLE_SORTNAME #define LOMO_TAG_TRACK_COUNT #define LOMO_TAG_TRACK_GAIN #define LOMO_TAG_TRACK_NUMBER #define LOMO_TAG_TRACK_PEAK #define LOMO_TAG_URI #define LOMO_TAG_VERSION #define LOMO_TAG_VIDEO_CODEC LomoStream; LomoStreamClass; gboolean lomo_stream_get_all_tags_flag (LomoStream *self
); GValue * lomo_stream_get_extended_metadata (LomoStream *self
,const gchar *key
); const gchar * lomo_stream_get_extended_metadata_as_string (LomoStream *self
,const gchar *key
); gboolean lomo_stream_get_failed_flag (LomoStream *self
); const gchar * lomo_stream_get_tag (LomoStream *self
,const gchar *tag
); gchar * lomo_stream_get_tag_by_id (LomoStream *self
,gchar id
); GList * lomo_stream_get_tags (LomoStream *self
); LomoStream * lomo_stream_new (const gchar *uri
); void lomo_stream_set_all_tags_flag (LomoStream *self
,gboolean value
); void lomo_stream_set_extended_metadata (LomoStream *self
,const gchar *key
,GValue *value
); void lomo_stream_set_extended_metadata_as_string (LomoStream *self
,const gchar *key
,const gchar *value
); void lomo_stream_set_failed_flag (LomoStream *self
,gboolean value
); void lomo_stream_set_tag (LomoStream *self
,const gchar *tag
,gpointer value
); gchar * lomo_stream_string_parser_cb (gchar tag_key
,LomoStream *self
); GType lomo_tag_get_gtype (const gchar *tag
);
#define LOMO_TAG_ALBUM_GAIN "replaygain-album-gain"
LomoStream "replaygain-album-gain" tag
#define LOMO_TAG_ALBUM_PEAK "replaygain-album-peak"
LomoStream "replaygain-album-peak" tag
#define LOMO_TAG_ALBUM_SORTNAME "album-sortname"
LomoStream "album-sortname" tag
#define LOMO_TAG_ALBUM_VOLUME_COUNT "album-disc-count"
LomoStream "album-disc-count" tag
#define LOMO_TAG_ALBUM_VOLUME_NUMBER "album-disc-number"
LomoStream "album-disc-number" tag
#define LOMO_TAG_ARTIST_SORTNAME "musicbrainz-sortname"
LomoStream "musicbrainz-sortname" tag
#define LOMO_TAG_BEATS_PER_MINUTE "beats-per-minute"
LomoStream "beats-per-minute" tag
#define LOMO_TAG_COPYRIGHT_URI "copyright-uri"
LomoStream "copyright-uri" tag
#define LOMO_TAG_ENCODER_VERSION "encoder-version"
LomoStream "encoder-version" tag
#define LOMO_TAG_EXTENDED_COMMENT "extended-comment"
LomoStream "extended-comment" tag
#define LOMO_TAG_GEO_LOCATION_LATITUDE "geo-location-latitude"
LomoStream "geo-location-latitude" tag
#define LOMO_TAG_GEO_LOCATION_LONGITUDE "geo-location-longitude"
LomoStream "geo-location-longitude" tag
#define LOMO_TAG_GEO_LOCATION_NAME "geo-location-name"
LomoStream "geo-location-name" tag
#define LOMO_TAG_LANGUAGE_CODE "language-code"
LomoStream "language-code" tag
#define LOMO_TAG_MAXIMUM_BITRATE "maximum-bitrate"
LomoStream "maximum-bitrate" tag
#define LOMO_TAG_MINIMUM_BITRATE "minimum-bitrate"
LomoStream "minimum-bitrate" tag
#define LOMO_TAG_NOMINAL_BITRATE "nominal-bitrate"
LomoStream "nominal-bitrate" tag
#define LOMO_TAG_PREVIEW_IMAGE "preview-image"
LomoStream "preview-image" tag
#define LOMO_TAG_REFERENCE_LEVEL "replaygain-reference-level"
LomoStream "replaygain-reference-level" tag
#define LOMO_TAG_TITLE_SORTNAME "title-sortname"
LomoStream "title-sortname" tag
#define LOMO_TAG_TRACK_GAIN "replaygain-track-gain"
LomoStream "replaygain-track-gain" tag
#define LOMO_TAG_TRACK_PEAK "replaygain-track-peak"
LomoStream "replaygain-track-peak" tag
gboolean lomo_stream_get_all_tags_flag (LomoStream *self
);
Gets value of all_tags flag
|
a LomoStream |
Returns : |
the value of all_tags flag |
GValue * lomo_stream_get_extended_metadata (LomoStream *self
,const gchar *key
);
|
A LomoStream |
|
A Key |
Returns : |
The value associated with the key. [transfer none] |
const gchar * lomo_stream_get_extended_metadata_as_string (LomoStream *self
,const gchar *key
);
See lomo_stream_get_extended_metadata()
|
A LomoStream |
|
A Key |
Returns : |
The value associated with the key as a string or
NULL if not found or key is not a string. [transfer none]
|
gboolean lomo_stream_get_failed_flag (LomoStream *self
);
Gets value of failed flag
|
a LomoStream |
Returns : |
the value of failed flag |
const gchar * lomo_stream_get_tag (LomoStream *self
,const gchar *tag
);
Gets a tag from LomoStream. The returned value is owned by stream
, and
should not be modified (Internally it uses g_object_get_data).
|
a LomoStream |
|
a LomoTag |
Returns : |
A pointer to the tag value |
gchar * lomo_stream_get_tag_by_id (LomoStream *self
,gchar id
);
Gets the tag value as string for the matching id
Retuns: the tag value as string
|
a LomoStream |
|
identifier for tag (t = title, b = album, etc...). [in] |
GList * lomo_stream_get_tags (LomoStream *self
);
Gets the list of const gchar *for a LomoStream
|
a LomoStream |
Returns : |
a GList, it must be freed when no longer needed, data too. [element-type utf8][transfer full] |
LomoStream * lomo_stream_new (const gchar *uri
);
Create a new LomoStream from an uri
|
An uri to create a LomoStream from. |
Returns : |
A new LomoStream |
void lomo_stream_set_all_tags_flag (LomoStream *self
,gboolean value
);
Sets the all_tags flag to value
|
a LomoStream |
|
value for flag. [in] |
void lomo_stream_set_extended_metadata (LomoStream *self
,const gchar *key
,GValue *value
);
Adds (or replaces) the value for the extended metadata for key
|
A LomoStream |
|
Key. [transfer none] |
|
Value to store. [transfer none] |
void lomo_stream_set_extended_metadata_as_string (LomoStream *self
,const gchar *key
,const gchar *value
);
void lomo_stream_set_failed_flag (LomoStream *self
,gboolean value
);
Sets the failed flag to value
|
a LomoStream |
|
value for flag. [in] |
void lomo_stream_set_tag (LomoStream *self
,const gchar *tag
,gpointer value
);
Sets a tag in a LomoStream
|
a LomoStream |
|
a const gchar *to set. [in][type gchar*][transfer none] |
|
value for tag, must not be modified. It becomes owned by LomoStream. [in][type gchar*][transfer none] |
gchar * lomo_stream_string_parser_cb (gchar tag_key
,LomoStream *self
);
"uri"
property"uri" gchar* : Read / Write / Construct Only
URI corresponding to the stream
Default value: NULL
"extended-metadata-updated"
signalvoid user_function (LomoStream *stream,
gchar *key,
gpointer user_data) : Run Last
Emitted when extended metadata (cover, lyrics, etc...) is updated for the stream
|
the object that recieved the signal |
|
Name of the updated metadata key |
|
user data set when the signal handler was connected. |