- public void add_artist (string artist)
Adds a new artist to this.
- public void add_author (string author)
Adds a new author to this.
- public void add_director (string director)
Adds the director of the media
- public void add_external_player (string player)
Adds a new external player to this.
- public void add_external_url (string url)
Adds a new external url to this.
- public void add_genre (string genre)
Adds a new genre to this.
- public void add_keyword (string keyword)
Adds the keyword describing the this
.
- public void add_lyrics (string lyrics)
Adds a new lyrics to this.
- public void add_mb_artist_id (string mb_artist_id)
Adds a new MusicBrainz artist id to this
.
- public void add_performer (string performer)
Adds the actor performing in the movie.
- public void add_producer (string producer)
Adds the producer of the media.
- public void add_region_data (string region, DateTime publication_date, string certificate)
Adds regional publication and certification information for
region
.
- public void add_thumbnail (string thumbnail)
Adds a new thumbnail to this.
- public void add_thumbnail_binary (uint8 thumbnail, size_t size)
Adds a new thumbnail to this.
- public void add_url_data (string url, string mime, int bitrate, float framerate, int width, int height)
Sets all the keys related with the URL of a media resource and adds it
to this (useful for resources with more than one URL).
- public unowned string get_album ()
- public unowned string get_album_artist ()
- public int get_album_disc_number ()
- public unowned string get_artist ()
- public unowned string get_artist_nth (uint index)
- public unowned string get_author ()
- public unowned string get_author_nth (uint index)
- public int get_bitrate ()
- public unowned string get_camera_model ()
- public unowned string get_certificate ()
Returns the media's first age certificate.
- public int get_childcount ()
Number of children of this container.
- public unowned string get_composer ()
- public unowned string get_composer_nth (uint index)
- public unowned DateTime get_creation_date ()
- public unowned string get_description ()
- public unowned string get_director ()
- public unowned string get_director_nth (uint index)
- public int get_duration ()
- public int get_episode ()
- public unowned string get_episode_title ()
- public float get_exposure_time ()
- public unowned string get_external_url ()
- public unowned string get_external_url_nth (uint index)
- public bool get_favourite ()
- public unowned string get_flash_used ()
- public float get_framerate ()
- public unowned string get_genre ()
- public unowned string get_genre_nth (uint index)
- public int get_height ()
- public unowned string get_id ()
- public float get_iso_speed ()
- public unowned string get_keyword ()
- public unowned string get_keyword_nth (uint index)
- public unowned DateTime get_last_played ()
- public int get_last_position ()
- public unowned string get_license ()
- public unowned string get_lyrics ()
- public unowned string get_lyrics_nth (uint index)
- public unowned string get_mb_album_id ()
- public unowned string get_mb_artist_id ()
- public unowned string get_mb_artist_id_nth (uint index)
- public unowned string get_mb_recording_id ()
- public unowned string get_mb_release_group_id ()
- public unowned string get_mb_release_id ()
- public unowned string get_mb_track_id ()
- public MediaType get_media_type ()
Gets the "media-type" property.
- public unowned string get_mime ()
- public unowned DateTime get_modification_date ()
- public int get_orientation ()
- public unowned string get_original_title ()
- public unowned string get_performer ()
- public unowned string get_performer_nth (uint index)
- public int get_play_count ()
- public unowned string get_player ()
- public unowned string get_player_nth (uint index)
- public unowned string get_producer ()
- public unowned string get_producer_nth (uint index)
- public unowned DateTime get_publication_date ()
- public float get_rating ()
- public unowned string get_region ()
- public unowned string get_region_data (out unowned DateTime publication_date, out unowned string certificate)
Returns the media's age certificate and publication date for the first
region.
- public unowned string get_region_data_nth (uint index, out unowned DateTime publication_date, out unowned string certificate)
Returns the media's age certificate and publication date for one
region.
- public int get_season ()
- public unowned string get_show ()
- public unowned string get_site ()
- public int64 get_size ()
- public unowned string get_source ()
- public float get_start_time ()
- public unowned string get_studio ()
- public unowned string get_thumbnail ()
- public uint8 get_thumbnail_binary (size_t size)
- public uint8 get_thumbnail_binary_nth (size_t size, uint index)
- public unowned string get_thumbnail_nth (uint index)
- public unowned string get_title ()
- public int get_track_number ()
- public unowned string get_url ()
- public unowned string get_url_data (out unowned string mime, out int bitrate, float framerate, int width, int height)
- public unowned string get_url_data_nth (uint index, out unowned string mime, out int bitrate, float framerate, int width, int height)
- public int get_width ()
- public bool is_audio ()
Check if this is an audio
- public bool is_container ()
Check if this is a container
- public bool is_image ()
Check if this is an image
- public bool is_video ()
Check if this is a video
- public string serialize ()
Serializes a GrlMedia into a string.
- public void set_album (string album)
Set the album of the media
- public void set_album_artist (string album_artist)
Set the main artist of the album of the media
- public void set_album_disc_number (int disc_number)
Set the disc number of the media for multi-disc album sets.
- public void set_artist (string artist)
Set the artist of the media
- public void set_author (string author)
Set the media's author
- public void set_bitrate (int bitrate)
Set the bitrate of the media
- public void set_camera_model (string camera_model)
Set the camera_model of the media
- public void set_certificate (string certificate)
Set the media's first age certification.
- public void set_childcount (int childcount)
Sets the number of children of this container.
- public void set_composer (string composer)
Set the composer of the media
- public void set_creation_date (DateTime creation_date)
Set the creation_date of the media
- public void set_description (string description)
Set the media's description
- public void set_director (string director)
Sets the director of the media.
- public void set_duration (int duration)
Set the media's duration
- public void set_episode (int episode)
Sets the episode number of the media
- public void set_episode_title (string episode_title)
Sets the title of an media
- public void set_exposure_time (float exposure_time)
Set the exposure_time of the media
- public void set_external_player (string player)
Set the location of a player for the media (usually a flash player)
- public void set_external_url (string url)
Set an external location where users can play the media
- public void set_favourite (bool favourite)
Set if the media is favourite or not
- public void set_flash_used (string flash_used)
Set the flash_used of the media See http://library.
- public void set_framerate (float framerate)
Set the framerate of the media
- public void set_genre (string genre)
Set the genre of the media
- public void set_height (int height)
Set the height of the media
- public void set_id (string id)
Set the media identifier
- public void set_iso_speed (float iso_speed)
Set the iso_speed of the media
- public void set_keyword (string keyword)
Sets the keyword describing the this
.
- public void set_last_played (DateTime last_played)
Set the media last played date
- public void set_last_position (int last_position)
Set the media last played position
- public void set_license (string license)
Set the media license
- public void set_lyrics (string lyrics)
Set the lyrics of the media
- public void set_mb_album_id (string mb_album_id)
Set the MusicBrainz album identifier of the media
- public void set_mb_artist_id (string mb_artist_id)
Set the MusicBrainz artist identifier of the media
- public void set_mb_recording_id (string mb_recording_id)
Set the MusicBrainz recording identifier of the media
- public void set_mb_release_group_id (string mb_release_group_id)
Set the MusicBrainz Release Group identifier of the media
- public void set_mb_release_id (string mb_release_id)
Set the MusicBrainz release identifier of the media
- public void set_mb_track_id (string mb_track_id)
Set the MusicBrainz track identifier of the media
- public void set_mime (string mime)
Set the media's mime-type
- public void set_modification_date (DateTime modification_date)
Set the modification date of the media
- public void set_orientation (int orientation)
Set the orientation of the media
- public void set_original_title (string original_title)
Sets the original, untranslated title of the media.
- public void set_performer (string performer)
Sets the actor performing in the movie.
- public void set_play_count (int play_count)
Set the media play count
- public void set_producer (string producer)
Sets the producer of the media.
- public void set_publication_date (DateTime date)
Set the publication date of this.
- public void set_rating (float rating, float max)
This method receives a rating and its scale and normalizes it on a
scale from 0...5 to match the usual five-star rating.
- public void set_region (string region)
Sets the region
where this
was published.
- public void set_region_data (string region, DateTime publication_date, string certificate)
Sets regional publication and certification information for
region
.
- public void set_season (int season)
Sets the season number of the media
- public void set_show (string show)
Sets the show title of the media
- public void set_site (string site)
Set the media's site.
- public void set_size (int64 size)
Set the size of the media
- public void set_source (string source)
Set the media's source
- public void set_studio (string studio)
Set the media studio
- public void set_thumbnail (string thumbnail)
Set the media's thumbnail URL
- public void set_thumbnail_binary (uint8 thumbnail, size_t size)
Set the media's binary thumbnail
- public void set_title (string title)
Set the media's title
- public void set_track_number (int track_number)
Set the track number of the media
- public void set_url (string url)
Set the media's URL
- public void set_url_data (string url, string mime, int bitrate, float framerate, int width, int height)
Sets all the keys related with the URL of a media resource in one go.
- public void set_width (int width)
Set the width of the media