
Functions | |
| static void | xspf_export_item (playlist_item_t *p_item, FILE *p_file, int *p_i_count) |
| exports one item to file or traverse if item is a node | |
| static void | xspf_extension_item (playlist_item_t *p_item, FILE *p_file, int *p_i_count) |
| exports one item in extension to file and traverse if item is a node | |
| int | xspf_export_playlist (vlc_object_t *p_this) |
| Prints the XSPF header to file, writes each item by xspf_export_item() and closes the open xml elements. | |
| static char * | input_xml (input_item_t *p_item, char *(*func)(input_item_t *)) |
| static char* input_xml | ( | input_item_t * | p_item, | |
| char *(*)(input_item_t *) | func | |||
| ) | [static] |
| static void xspf_export_item | ( | playlist_item_t * | p_item, | |
| FILE * | p_file, | |||
| int * | p_i_count | |||
| ) | [static] |
exports one item to file or traverse if item is a node
| p_item | playlist item to export | |
| p_file | file to write xml-converted item to | |
| p_i_count | counter for track identifiers |
References i, playlist_item_t::i_children, input_item_t::i_options, input_item_GetAlbum(), input_item_GetArtist(), input_item_GetArtURL, input_item_GetDescription(), input_item_GetDuration(), input_item_GetTitle(), input_item_GetTrackNum, input_item_GetURI(), input_xml(), playlist_item_t::p_input, input_item_t::p_meta, playlist_item_t::pp_children, and input_item_t::ppsz_options.
Referenced by xspf_export_playlist().
| int xspf_export_playlist | ( | vlc_object_t * | p_this | ) |
Prints the XSPF header to file, writes each item by xspf_export_item() and closes the open xml elements.
| p_this | the VLC playlist object |
References convert_xml_special_chars(), i, playlist_item_t::i_children, playlist_export_t::p_file, playlist_item_t::p_input, playlist_export_t::p_root, playlist_item_t::pp_children, input_item_t::psz_name, VLC_SUCCESS, xspf_export_item(), and xspf_extension_item().
| static void xspf_extension_item | ( | playlist_item_t * | p_item, | |
| FILE * | p_file, | |||
| int * | p_i_count | |||
| ) | [static] |
exports one item in extension to file and traverse if item is a node
| p_item | playlist item to export | |
| p_file | file to write xml-converted item to | |
| p_i_count | counter for track identifiers |
References convert_xml_special_chars(), i, playlist_item_t::i_children, playlist_item_t::p_input, playlist_item_t::pp_children, and input_item_t::psz_name.
Referenced by xspf_export_playlist().
1.5.6