
Data Structures | |
| struct | vlc_meta_t |
Functions | |
| const char * | vlc_meta_TypeToLocalizedString (vlc_meta_type_t meta_type) |
| Returns a localizes string describing the meta. | |
| vlc_meta_t * | vlc_meta_New (void) |
| vlc_meta contructor. | |
| static void | vlc_meta_FreeExtraKey (void *p_data, void *p_obj) |
| void | vlc_meta_Delete (vlc_meta_t *m) |
| void | vlc_meta_Set (vlc_meta_t *p_meta, vlc_meta_type_t meta_type, const char *psz_val) |
| vlc_meta has two kinds of meta, the one in a table, and the one in a dictionary. | |
| const char * | vlc_meta_Get (const vlc_meta_t *p_meta, vlc_meta_type_t meta_type) |
| void | vlc_meta_AddExtra (vlc_meta_t *m, const char *psz_name, const char *psz_value) |
| const char * | vlc_meta_GetExtra (const vlc_meta_t *m, const char *psz_name) |
| unsigned | vlc_meta_GetExtraCount (const vlc_meta_t *m) |
| char ** | vlc_meta_CopyExtraNames (const vlc_meta_t *m) |
| Allocate a copy of all extra meta names and a table with it. | |
| int | vlc_meta_GetStatus (vlc_meta_t *m) |
| vlc_meta status (see vlc_meta_status_e) | |
| void | vlc_meta_SetStatus (vlc_meta_t *m, int status) |
| void | vlc_meta_Merge (vlc_meta_t *dst, const vlc_meta_t *src) |
| Merging meta. | |
| void | input_ExtractAttachmentAndCacheArt (input_thread_t *p_input) |
| int | input_item_WriteMeta (vlc_object_t *obj, input_item_t *p_item) |
| void input_ExtractAttachmentAndCacheArt | ( | input_thread_t * | p_input | ) |
References input_thread_private_t::attachment, input_thread_private_t::i_attachment, input_attachment_t::i_data, input_item_GetArtURL, input_item_IsArtFetched(), input_item_t::lock, msg_Err, msg_Warn, input_thread_t::p, input_attachment_t::p_data, input_thread_private_t::p_item, p_item, pl_Get, playlist_FindArtInCache(), playlist_SaveArt(), input_attachment_t::psz_mime, input_attachment_t::psz_name, psz_type, vlc_input_attachment_Delete(), vlc_input_attachment_Duplicate(), vlc_mutex_lock(), and vlc_mutex_unlock().
Referenced by EsOutMeta().
| int input_item_WriteMeta | ( | vlc_object_t * | obj, | |
| input_item_t * | p_item | |||
| ) |
References input_item_t::i_type, input_item_GetURI(), ITEM_TYPE_FILE, input_item_t::lock, make_path(), module_need, module_unneed, msg_Err, meta_export_t::p_item, meta_export_t::psz_file, vlc_custom_create, VLC_EGENERIC, VLC_ENOMEM, vlc_mutex_lock(), vlc_mutex_unlock(), vlc_object_attach, VLC_OBJECT_GENERIC, vlc_object_release, and VLC_SUCCESS.
Referenced by libvlc_media_save_meta(), MetaPanel::saveMeta(), and VLCInfo::saveMetaData:.
| void vlc_meta_AddExtra | ( | vlc_meta_t * | m, | |
| const char * | psz_name, | |||
| const char * | psz_value | |||
| ) |
References vlc_meta_t::extra_tags, kVLCDictionaryNotFound, strdup(), vlc_dictionary_insert(), vlc_dictionary_remove_value_for_key(), vlc_dictionary_value_for_key(), and vlc_meta_FreeExtraKey().
Referenced by Control(), DecodeBlock(), DemuxDecodeXds(), ParseAPEvXTag(), ParseID3Tag(), ParseKateComments(), ParseSpeexComments(), ParseTheoraComments(), ParseVorbisComments(), ReadMetaFromId3v2(), vlclua_input_item_set_meta(), and vorbis_ParseComment().
| char** vlc_meta_CopyExtraNames | ( | const vlc_meta_t * | m | ) |
Allocate a copy of all extra meta names and a table with it.
Be sure to free both the returned pointers and its name.
References vlc_meta_t::extra_tags, and vlc_dictionary_all_keys().
Referenced by EsOutProgramMeta(), EsOutUpdateInfo(), ExtraMetaPanel::update(), and vlclua_input_metas_internal().
| void vlc_meta_Delete | ( | vlc_meta_t * | m | ) |
References vlc_meta_t::extra_tags, i, vlc_meta_t::ppsz_meta, vlc_dictionary_clear(), vlc_meta_FreeExtraKey(), and VLC_META_TYPE_COUNT.
Referenced by CmdCleanControl(), DecoderUpdateFormatLocked(), Del(), DeleteDecoder(), demux_PacketizerDestroy(), DemuxDecodeXds(), DemuxEnd(), EsOutSend(), GetTracks(), input_item_Clean(), InputSourceMeta(), InputUpdateMeta(), Ogg_EndOfStream(), sout_DeleteInstance(), transcode_audio_close(), transcode_spu_close(), transcode_video_close(), and demux_sys_t::~demux_sys_t().
| static void vlc_meta_FreeExtraKey | ( | void * | p_data, | |
| void * | p_obj | |||
| ) | [static] |
| const char* vlc_meta_Get | ( | const vlc_meta_t * | p_meta, | |
| vlc_meta_type_t | meta_type | |||
| ) |
References vlc_meta_t::ppsz_meta.
Referenced by Art(), ArtCachePath(), EsOutMeta(), EsOutProgramMeta(), GetTracks(), input_item_GetMeta(), input_item_GetTitleFbName(), input_item_MetaMatch(), playlist_LiveSearchUpdateInternal(), and Redraw().
| const char* vlc_meta_GetExtra | ( | const vlc_meta_t * | m, | |
| const char * | psz_name | |||
| ) |
References vlc_meta_t::extra_tags, and vlc_dictionary_value_for_key().
Referenced by EsOutProgramMeta(), EsOutUpdateInfo(), ExtraMetaPanel::update(), vlc_audio_replay_gain_MergeFromMeta(), and vlclua_input_metas_internal().
| unsigned vlc_meta_GetExtraCount | ( | const vlc_meta_t * | m | ) |
References vlc_meta_t::extra_tags, and vlc_dictionary_keys_count().
Referenced by EsOutProgramMeta().
| int vlc_meta_GetStatus | ( | vlc_meta_t * | m | ) |
vlc_meta status (see vlc_meta_status_e)
References vlc_meta_t::i_status.
Referenced by GetInputMeta(), input_item_IsArtFetched(), input_item_IsPreparsed(), input_item_SetArtFetched(), input_item_SetArtNotFound(), and input_item_SetPreparsed().
| void vlc_meta_Merge | ( | vlc_meta_t * | dst, | |
| const vlc_meta_t * | src | |||
| ) |
Merging meta.
References vlc_meta_t::extra_tags, i, vlc_meta_t::ppsz_meta, strdup(), vlc_dictionary_all_keys(), vlc_dictionary_insert(), vlc_dictionary_remove_value_for_key(), vlc_dictionary_value_for_key(), vlc_meta_FreeExtraKey(), and VLC_META_TYPE_COUNT.
Referenced by Control(), EsOutMeta(), input_DecoderHasFormatChanged(), and InputSourceMeta().
| vlc_meta_t* vlc_meta_New | ( | void | ) |
vlc_meta contructor.
vlc_meta_Delete() will free the returned pointer.
References vlc_meta_t::extra_tags, vlc_meta_t::i_status, vlc_meta_t::ppsz_meta, and vlc_dictionary_init().
Referenced by ArtCachePath(), AVI_MetaLoad(), CdTextParse(), Control(), DecodeBlock(), DemuxDecodeXds(), DemuxInit(), matroska_segment_c::InformationCreate(), Init(), input_DecoderHasFormatChanged(), input_item_SetArtFetched(), input_item_SetArtNotFound(), input_item_SetMeta(), input_item_SetPreparsed(), ParseAPEvXTag(), ParseID3Tag(), ParseKateComments(), ParseSpeexComments(), ParseTheoraComments(), ParseVorbisComments(), ReadMeta(), UpdateGenericFromAccess(), UpdateGenericFromDemux(), and vorbis_ParseComment().
| void vlc_meta_Set | ( | vlc_meta_t * | p_meta, | |
| vlc_meta_type_t | meta_type, | |||
| const char * | psz_val | |||
| ) |
vlc_meta has two kinds of meta, the one in a table, and the one in a dictionary.
FIXME - Why don't we merge those two?
References vlc_meta_t::ppsz_meta, and strdup().
Referenced by AVI_MetaLoad(), Control(), input_item_SetMeta(), and InputMetaUser().
| void vlc_meta_SetStatus | ( | vlc_meta_t * | m, | |
| int | status | |||
| ) |
References vlc_meta_t::i_status.
Referenced by input_item_SetArtFetched(), input_item_SetArtNotFound(), and input_item_SetPreparsed().
| const char* vlc_meta_TypeToLocalizedString | ( | vlc_meta_type_t | meta_type | ) |
Returns a localizes string describing the meta.
References _, vlc_meta_Album, vlc_meta_Artist, vlc_meta_ArtworkURL, vlc_meta_Copyright, vlc_meta_Date, vlc_meta_Description, vlc_meta_EncodedBy, vlc_meta_Genre, vlc_meta_Language, vlc_meta_NowPlaying, vlc_meta_Publisher, vlc_meta_Rating, vlc_meta_Setting, vlc_meta_Title, vlc_meta_TrackID, vlc_meta_TrackNumber, and vlc_meta_URL.
Referenced by EsOutProgramEpg(), and EsOutProgramMeta().
1.5.6