| lomo Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
typedef LomoTag;
LomoStream;
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)
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. |