|
VLC
2.1.0-git
|
Structure to describe a media. More...

Data Fields | |
| ml_gc_object_t | ml_gc_data |
| vlc_mutex_t | lock |
| Mutex for multithreaded access. | |
| bool | b_sparse |
| Specifies if media is loaded fully. | |
| ml_type_e | i_type |
| Type of the media (ml_type_e) | |
| int8_t | i_vote |
| User vote. | |
| int16_t | i_disc_number |
| Disc number of media. | |
| int16_t | i_track_number |
| Track number. | |
| int16_t | i_year |
| Year of release. | |
| int32_t | i_id |
| Media ID in the database. | |
| int32_t | i_score |
| Score computed about the media. | |
| int32_t | i_album_id |
| Album id. | |
| int32_t | i_played_count |
| How many time the media was played. | |
| int32_t | i_skipped_count |
| No. | |
| int32_t | i_bitrate |
| Extra: Bitrate of the media. | |
| int32_t | i_samplerate |
| Extra: Samplerate of the media. | |
| int32_t | i_bpm |
| Extra: Beats per minute. | |
| char * | psz_uri |
| URI to find the media. | |
| char * | psz_title |
| Title of the media. | |
| char * | psz_orig_title |
| Original title (mainly for movies) | |
| char * | psz_album |
| Name of the album. | |
| char * | psz_cover |
| URI of the cover. | |
| char * | psz_genre |
| Genre of the media. | |
| char * | psz_preview |
| Preview thumbnail for video, if any. | |
| char * | psz_comment |
| Comment or description about media. | |
| char * | psz_language |
| Extra: Language. | |
| char * | psz_extra |
| Extra: Some extra datas like lyrics. | |
| ml_person_t * | p_people |
| Extra: People associated with this media This meta holds only one artist if b_sparse = true. | |
| int64_t | i_filesize |
| Size of the file. | |
| mtime_t | i_duration |
| Duration in microseconds. | |
| mtime_t | i_last_played |
| Time when the media was last played. | |
| mtime_t | i_last_skipped |
| Time when the media was last skipped. | |
| mtime_t | i_first_played |
| First played. | |
| mtime_t | i_import_time |
| Time when media was added. | |
Structure to describe a media.
This is the main structure holding the meta data in ML.
| bool ml_media_t::b_sparse |
Specifies if media is loaded fully.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| int32_t ml_media_t::i_album_id |
Album id.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| int32_t ml_media_t::i_bitrate |
Extra: Bitrate of the media.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| int32_t ml_media_t::i_bpm |
Extra: Beats per minute.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| int16_t ml_media_t::i_disc_number |
Disc number of media.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| mtime_t ml_media_t::i_duration |
Duration in microseconds.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| int64_t ml_media_t::i_filesize |
Size of the file.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| mtime_t ml_media_t::i_first_played |
First played.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| int32_t ml_media_t::i_id |
Media ID in the database.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| mtime_t ml_media_t::i_import_time |
Time when media was added.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| mtime_t ml_media_t::i_last_played |
Time when the media was last played.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| mtime_t ml_media_t::i_last_skipped |
Time when the media was last skipped.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| int32_t ml_media_t::i_played_count |
How many time the media was played.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| int32_t ml_media_t::i_samplerate |
Extra: Samplerate of the media.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| int32_t ml_media_t::i_score |
Score computed about the media.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| int32_t ml_media_t::i_skipped_count |
| int16_t ml_media_t::i_track_number |
Track number.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| ml_type_e ml_media_t::i_type |
Type of the media (ml_type_e)
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| int8_t ml_media_t::i_vote |
User vote.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| int16_t ml_media_t::i_year |
Year of release.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| vlc_mutex_t ml_media_t::lock |
Mutex for multithreaded access.
| ml_gc_object_t ml_media_t::ml_gc_data |
Referenced by ml_gc_decref(), and ml_gc_incref().
| ml_person_t* ml_media_t::p_people |
Extra: People associated with this media This meta holds only one artist if b_sparse = true.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| char* ml_media_t::psz_album |
Name of the album.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| char* ml_media_t::psz_comment |
Comment or description about media.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| char* ml_media_t::psz_cover |
URI of the cover.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| char* ml_media_t::psz_extra |
Extra: Some extra datas like lyrics.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| char* ml_media_t::psz_genre |
Genre of the media.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| char* ml_media_t::psz_language |
Extra: Language.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| char* ml_media_t::psz_orig_title |
Original title (mainly for movies)
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| char* ml_media_t::psz_preview |
Preview thumbnail for video, if any.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| char* ml_media_t::psz_title |
Title of the media.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
| char* ml_media_t::psz_uri |
URI to find the media.
Referenced by ml_CopyMedia(), and ml_FreeMediaContent().
1.8.1.2