Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
37b5af49
Commit
37b5af49
authored
Jun 14, 2006
by
Yoann Peronneau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* xspf.c: <trackList> has no <location> or <title> element
parent
9526c478
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
24 deletions
+1
-24
modules/misc/playlist/xspf.c
modules/misc/playlist/xspf.c
+1
-24
No files found.
modules/misc/playlist/xspf.c
View file @
37b5af49
...
...
@@ -44,12 +44,8 @@ int E_(xspf_export_playlist)( vlc_object_t *p_this )
const
playlist_t
*
p_playlist
=
(
playlist_t
*
)
p_this
;
const
playlist_export_t
*
p_export
=
(
playlist_export_t
*
)
p_playlist
->
p_private
;
int
i
;
char
*
psz_temp
;
playlist_item_t
**
pp_items
=
NULL
;
int
i_size
;
int
i
,
i_count
;
playlist_item_t
*
p_node
=
p_export
->
p_root
;
int
i_count
;
/* write XSPF XML header */
fprintf
(
p_export
->
p_file
,
"<?xml version=
\"
1.0
\"
encoding=
\"
UTF-8
\"
?>
\n
"
);
...
...
@@ -58,25 +54,6 @@ int E_(xspf_export_playlist)( vlc_object_t *p_this )
if
(
!
p_node
)
return
VLC_SUCCESS
;
pp_items
=
p_node
->
pp_children
;
i_size
=
p_node
->
i_children
;
/* save name of the playlist node */
psz_temp
=
convert_xml_special_chars
(
p_node
->
p_input
->
psz_name
);
if
(
*
psz_temp
)
{
fprintf
(
p_export
->
p_file
,
"
\t
<title>%s</title>
\n
"
,
psz_temp
);
}
free
(
psz_temp
);
/* save location of the playlist node */
psz_temp
=
assertUTF8URI
(
p_export
->
psz_filename
);
if
(
psz_temp
&&
*
psz_temp
)
{
fprintf
(
p_export
->
p_file
,
"
\t
<location>%s</location>
\n
"
,
psz_temp
);
free
(
psz_temp
);
}
/* export all items in a flat format */
fprintf
(
p_export
->
p_file
,
"
\t
<trackList>
\n
"
);
i_count
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment