![]() |
![]() |
![]() |
lomo Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
typedef LomoTag; LomoStream; LomoStreamClass; LomoStream* lomo_stream_new (gchar *uri
); void lomo_stream_set_all_tags_flag (LomoStream *self
,gboolean val
); void lomo_stream_set_failed_flag (LomoStream *self
,gboolean val
); gboolean lomo_stream_get_all_tags_flag (LomoStream *self
); gboolean lomo_stream_get_failed_flag (LomoStream *self
); #define lomo_stream_get_tag (stream, tag) gchar* lomo_stream_get_tag_by_id (LomoStream *self
,gchar id
); void lomo_stream_set_tag (LomoStream *self
,LomoTag tag
,gpointer value
); GList* lomo_stream_get_tags (LomoStream *self
); GType lomo_tag_get_g_type (LomoTag tag
); #define LOMO_TAG_INVALID #define LOMO_TAG_URI #define LOMO_TAG_TITLE #define LOMO_TAG_TITLE_SORTNAME #define LOMO_TAG_ARTIST #define LOMO_TAG_ARTIST_SORTNAME #define LOMO_TAG_ALBUM #define LOMO_TAG_ALBUM_SORTNAME #define LOMO_TAG_COMPOSER #define LOMO_TAG_DATE #define LOMO_TAG_GENRE #define LOMO_TAG_COMMENT #define LOMO_TAG_EXTENDED_COMMENT #define LOMO_TAG_TRACK_NUMBER #define LOMO_TAG_TRACK_COUNT #define LOMO_TAG_ALBUM_VOLUME_NUMBER #define LOMO_TAG_ALBUM_VOLUME_COUNT #define LOMO_TAG_LOCATION #define LOMO_TAG_DESCRIPTION #define LOMO_TAG_VERSION #define LOMO_TAG_ISRC #define LOMO_TAG_ORGANIZATION #define LOMO_TAG_COPYRIGHT #define LOMO_TAG_COPYRIGHT_URI #define LOMO_TAG_CONTACT #define LOMO_TAG_LICENSE #define LOMO_TAG_LICENSE_URI #define LOMO_TAG_PERFORMER #define LOMO_TAG_DURATION #define LOMO_TAG_CODEC #define LOMO_TAG_VIDEO_CODEC #define LOMO_TAG_AUDIO_CODEC #define LOMO_TAG_BITRATE #define LOMO_TAG_NOMINAL_BITRATE #define LOMO_TAG_MINIMUM_BITRATE #define LOMO_TAG_MAXIMUM_BITRATE #define LOMO_TAG_SERIAL #define LOMO_TAG_ENCODER #define LOMO_TAG_ENCODER_VERSION #define LOMO_TAG_TRACK_GAIN #define LOMO_TAG_TRACK_PEAK #define LOMO_TAG_ALBUM_GAIN #define LOMO_TAG_ALBUM_PEAK #define LOMO_TAG_REFERENCE_LEVEL #define LOMO_TAG_LANGUAGE_CODE #define LOMO_TAG_IMAGE #define LOMO_TAG_PREVIEW_IMAGE #define LOMO_TAG_ATTACHMENT #define LOMO_TAG_BEATS_PER_MINUTE #define LOMO_TAG_KEYWORDS #define LOMO_TAG_GEO_LOCATION_NAME #define LOMO_TAG_GEO_LOCATION_LATITUDE #define LOMO_TAG_GEO_LOCATION_LONGITUDE
LomoStream* lomo_stream_new (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 val
);
Sets the all_tags flag to value
|
a LomoStream |
|
value for flag |
void lomo_stream_set_failed_flag (LomoStream *self
,gboolean val
);
Sets the failed flag to value
|
a LomoStream |
|
value for flag |
gboolean lomo_stream_get_all_tags_flag (LomoStream *self
);
Gets value of all_tags flag
|
a LomoStream |
Returns : |
the value of all_tags flag |
gboolean lomo_stream_get_failed_flag (LomoStream *self
);
Gets value of failed flag
|
a LomoStream |
Returns : |
the value of failed flag |
#define lomo_stream_get_tag(stream,tag) g_object_get_data(G_OBJECT(stream), 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...) |
void lomo_stream_set_tag (LomoStream *self
,LomoTag tag
,gpointer value
);
Sets a tag in a LomoStream
|
a LomoStream |
|
a LomoTag to set |
|
value for tag, must not be modified. It becomes owned by LomoStream |
GList* lomo_stream_get_tags (LomoStream *self
);
Gets the list of LomoTag for a LomoStream
|
a LomoStream |
Returns : |
a GList, it must be freed when no longer needed, data too |
#define LOMO_TAG_TITLE_SORTNAME "title-sortname"
LomoStream "title-sortname" tag
#define LOMO_TAG_ARTIST_SORTNAME "musicbrainz-sortname"
LomoStream "musicbrainz-sortname" tag
#define LOMO_TAG_ALBUM_SORTNAME "album-sortname"
LomoStream "album-sortname" tag
#define LOMO_TAG_EXTENDED_COMMENT "extended-comment"
LomoStream "extended-comment" tag
#define LOMO_TAG_ALBUM_VOLUME_NUMBER "album-disc-number"
LomoStream "album-disc-number" tag
#define LOMO_TAG_ALBUM_VOLUME_COUNT "album-disc-count"
LomoStream "album-disc-count" tag
#define LOMO_TAG_COPYRIGHT_URI "copyright-uri"
LomoStream "copyright-uri" tag
#define LOMO_TAG_NOMINAL_BITRATE "nominal-bitrate"
LomoStream "nominal-bitrate" tag
#define LOMO_TAG_MINIMUM_BITRATE "minimum-bitrate"
LomoStream "minimum-bitrate" tag
#define LOMO_TAG_MAXIMUM_BITRATE "maximum-bitrate"
LomoStream "maximum-bitrate" tag
#define LOMO_TAG_ENCODER_VERSION "encoder-version"
LomoStream "encoder-version" 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
#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_REFERENCE_LEVEL "replaygain-reference-level"
LomoStream "replaygain-reference-level" tag
#define LOMO_TAG_LANGUAGE_CODE "language-code"
LomoStream "language-code" tag
#define LOMO_TAG_PREVIEW_IMAGE "preview-image"
LomoStream "preview-image" tag
#define LOMO_TAG_BEATS_PER_MINUTE "beats-per-minute"
LomoStream "beats-per-minute" tag
#define LOMO_TAG_GEO_LOCATION_NAME "geo-location-name"
LomoStream "geo-location-name" tag
#define LOMO_TAG_GEO_LOCATION_LATITUDE "geo-location-latitude"
LomoStream "geo-location-latitude" tag