|
Functions | |
| mvar_t * | mvar_IntegerSetNew (const char *name, const char *arg) |
| This function creates a set variable which represents a series of integer The arg parameter must be of the form "start[:stop[:step]]". | |
| mvar_t * | mvar_ObjectSetNew (intf_thread_t *p_intf, char *name, const char *arg) |
| This function creates a set variable with a list of VLC objects. | |
| mvar_t * | mvar_PlaylistSetNew (intf_thread_t *p_intf, char *name, playlist_t *p_pl) |
| This function creates a set variable with the contents of the playlist. | |
| mvar_t * | mvar_InfoSetNew (char *name, input_thread_t *p_input) |
| This function creates a set variable with the contents of the Stream and media info box. | |
| mvar_t * | mvar_InputVarSetNew (intf_thread_t *p_intf, char *name, input_thread_t *p_input, const char *psz_variable) |
| This function creates a set variable with the input parameters. | |
| mvar_t * | mvar_FileSetNew (intf_thread_t *p_intf, char *name, char *psz_dir) |
| This function creates a set variable representing the files of the psz_dir directory. | |
| mvar_t * | mvar_VlmSetNew (char *name, vlm_t *vlm) |
| This function creates a set variable representing the VLM streams. | |
| void | PlaylistListNode (intf_thread_t *p_intf, playlist_t *p_pl, playlist_item_t *p_node, char *name, mvar_t *s, int i_depth) |
| This function converts the listing of a playlist node into a mvar set. | |
There are a number of predefined functions that will give you variables whose children represent VLC internal data (playlist, stream info, ...)
| mvar_t* mvar_FileSetNew | ( | intf_thread_t * | p_intf, | |
| char * | name, | |||
| char * | psz_dir | |||
| ) |
This function creates a set variable representing the files of the psz_dir directory.
References DIR_SEP, Filter(), InsensitiveAlphasort(), msg_Warn, mvar_AppendNewVar(), mvar_AppendVar(), mvar_New(), psz_ext, psz_name, RealPath(), strdup(), utf8_scandir(), and utf8_stat().
Referenced by Execute().
| mvar_t* mvar_InfoSetNew | ( | char * | name, | |
| input_thread_t * | p_input | |||
| ) |
This function creates a set variable with the contents of the Stream and media info box.
References i, input_item_t::i_categories, info_category_t::i_infos, input_GetItem(), lock, mvar_AppendNewVar(), mvar_AppendVar(), mvar_New(), input_thread_t::p, input_item_t::pp_categories, info_category_t::pp_infos, info_t::psz_name, info_category_t::psz_name, info_t::psz_value, vlc_mutex_lock(), and vlc_mutex_unlock().
Referenced by Execute().
| mvar_t* mvar_InputVarSetNew | ( | intf_thread_t * | p_intf, | |
| char * | name, | |||
| input_thread_t * | p_input, | |||
| const char * | psz_variable | |||
| ) |
This function creates a set variable with the input parameters.
References i, vlc_list_t::i_count, vlc_value_t::i_int, i_type, mvar_AppendNewVar(), mvar_AppendVar(), mvar_New(), intf_sys_t::p_input, vlc_value_t::p_list, intf_thread_t::p_sys, p_sys, vlc_list_t::p_values, vlc_value_t::psz_string, var_Change, var_FreeList(), var_Get, var_Type, VLC_VAR_BOOL, VLC_VAR_CHOICESCOUNT, VLC_VAR_GETLIST, VLC_VAR_HASCHOICE, VLC_VAR_INTEGER, VLC_VAR_ISCOMMAND, VLC_VAR_STRING, VLC_VAR_TYPE, VLC_VAR_VARIABLE, and VLC_VAR_VOID.
Referenced by Execute().
| mvar_t* mvar_IntegerSetNew | ( | const char * | name, | |
| const char * | arg | |||
| ) |
This function creates a set variable which represents a series of integer The arg parameter must be of the form "start[:stop[:step]]".
References i, mvar_New(), mvar_PushNewVar(), gen_builder::str, and strdup().
Referenced by Execute().
| mvar_t* mvar_ObjectSetNew | ( | intf_thread_t * | p_intf, | |
| char * | name, | |||
| const char * | arg | |||
| ) |
This function creates a set variable with a list of VLC objects.
References i, module_get_name(), module_get_object(), module_list_free(), module_list_get(), module_provides(), mvar_AppendNewVar(), mvar_AppendVar(), mvar_New(), and VLC_UNUSED.
Referenced by Execute().
| mvar_t* mvar_PlaylistSetNew | ( | intf_thread_t * | p_intf, | |
| char * | name, | |||
| playlist_t * | p_pl | |||
| ) |
This function creates a set variable with the contents of the playlist.
References mvar_New(), playlist_t::p_root_category, playlist_Lock(), playlist_Unlock(), and PlaylistListNode().
Referenced by Execute().
This function creates a set variable representing the VLM streams.
References vlm_message_t::child, vlm_message_t::i_child, msg, mvar_New(), mvar_VlmSetNewLoop(), vlm_message_t::psz_name, vlm_ExecuteCommand(), and vlm_MessageDelete().
Referenced by Execute().
| void PlaylistListNode | ( | intf_thread_t * | p_intf, | |
| playlist_t * | p_pl, | |||
| playlist_item_t * | p_node, | |||
| char * | name, | |||
| mvar_t * | s, | |||
| int | i_depth | |||
| ) |
This function converts the listing of a playlist node into a mvar set.
< Write-enabled ?
< Write-enabled ?
References playlist_item_t::i_children, playlist_item_t::i_flags, playlist_item_t::i_id, input_item_GetAlbum, input_item_GetArtist, input_item_GetArtURL, input_item_GetCopyright, input_item_GetDate, input_item_GetDescription, input_item_GetDuration(), input_item_GetEncodedBy, input_item_GetGenre, input_item_GetLanguage, input_item_GetName(), input_item_GetNowPlaying, input_item_GetPublisher, input_item_GetRating, input_item_GetTitle, input_item_GetTrackID, input_item_GetTrackNum, input_item_GetURI(), input_item_GetURL, mvar_AppendNewVar(), mvar_AppendVar(), mvar_New(), playlist_item_t::p_input, p_item, playlist_CurrentPlayingItem(), PLAYLIST_RO_FLAG, PlaylistListNode(), playlist_item_t::pp_children, and input_item_t::psz_name.
Referenced by mvar_PlaylistSetNew(), and PlaylistListNode().
1.5.6