Changeset 6bc1500f97bf158ec4160570ff3d6173f8f67dc4
- Timestamp:
- 14/06/06 04:00:42
(2 years ago)
- Author:
- Yoann Peronneau <yoann@videolan.org>
- git-committer:
- Yoann Peronneau <yoann@videolan.org> 1150250442 +0000
- git-parent:
[37b5af493075f95769ee26ed583f2b0f43c6d3b7]
- git-author:
- Yoann Peronneau <yoann@videolan.org> 1150250442 +0000
- Message:
* xpsf.c: ...but <playlist> has... grmbl
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r37b5af4 |
r6bc1500 |
|
| 45 | 45 | const playlist_export_t *p_export = |
|---|
| 46 | 46 | (playlist_export_t *)p_playlist->p_private; |
|---|
| 47 | | int i, i_count; |
|---|
| | 47 | int i, i_count; |
|---|
| | 48 | char *psz_temp; |
|---|
| 48 | 49 | playlist_item_t *p_node = p_export->p_root; |
|---|
| 49 | 50 | |
|---|
| … | … | |
| 54 | 55 | |
|---|
| 55 | 56 | if( !p_node ) return VLC_SUCCESS; |
|---|
| | 57 | |
|---|
| | 58 | /* save name of the playlist node */ |
|---|
| | 59 | psz_temp = convert_xml_special_chars( p_node->p_input->psz_name ); |
|---|
| | 60 | if( *psz_temp ) |
|---|
| | 61 | { |
|---|
| | 62 | fprintf( p_export->p_file, "\t<title>%s</title>\n", psz_temp ); |
|---|
| | 63 | } |
|---|
| | 64 | free( psz_temp ); |
|---|
| | 65 | |
|---|
| | 66 | /* save location of the playlist node */ |
|---|
| | 67 | psz_temp = assertUTF8URI( p_export->psz_filename ); |
|---|
| | 68 | if( psz_temp && *psz_temp ) |
|---|
| | 69 | { |
|---|
| | 70 | fprintf( p_export->p_file, "\t<location>%s</location>\n", psz_temp ); |
|---|
| | 71 | free( psz_temp ); |
|---|
| | 72 | } |
|---|
| 56 | 73 | |
|---|
| 57 | 74 | /* export all items in a flat format */ |
|---|