Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
dbc59e3a
Commit
dbc59e3a
authored
Jun 14, 2006
by
Yoann Peronneau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Tree playlist XSPF export
Kids, don't try this at home...
parent
e955c93c
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
146 additions
and
108 deletions
+146
-108
modules/gui/wxwidgets/dialogs/playlist.cpp
modules/gui/wxwidgets/dialogs/playlist.cpp
+8
-5
modules/misc/playlist/xspf.c
modules/misc/playlist/xspf.c
+136
-102
modules/misc/playlist/xspf.h
modules/misc/playlist/xspf.h
+2
-1
No files found.
modules/gui/wxwidgets/dialogs/playlist.cpp
View file @
dbc59e3a
...
...
@@ -932,7 +932,7 @@ void Playlist::OnSave( wxCommandEvent& WXUNUSED(event) )
char
*
psz_desc
;
char
*
psz_filter
;
char
*
psz_module
;
}
formats
[]
=
{{
_
(
"M3U file"
),
"*.m3u"
,
"export-m3u"
},
}
formats
[]
=
{
//
{ _("M3U file"), "*.m3u", "export-m3u" },
{
_
(
"XSPF playlist"
),
"*.xspf"
,
"export-xspf"
}
};
...
...
@@ -959,10 +959,13 @@ void Playlist::OnSave( wxCommandEvent& WXUNUSED(event) )
{
if
(
dialog
.
GetPath
().
mb_str
()
)
{
abort
();
// playlist_Export( p_playlist, dialog.GetPath().mb_str(),
// /* ROOT */
// formats[dialog.GetFilterIndex()].psz_module );
/* what root should we export? */
if
(
p_playlist
->
p_root_category
->
i_children
>
0
)
{
playlist_Export
(
p_playlist
,
dialog
.
GetPath
().
mb_str
(),
p_playlist
->
p_root_category
->
pp_children
[
0
],
formats
[
dialog
.
GetFilterIndex
()].
psz_module
);
}
}
}
...
...
modules/misc/playlist/xspf.c
View file @
dbc59e3a
This diff is collapsed.
Click to expand it.
modules/misc/playlist/xspf.h
View file @
dbc59e3a
...
...
@@ -33,5 +33,6 @@ const char hexchars[16] = "0123456789ABCDEF";
/* prototypes */
int
E_
(
xspf_export_playlist
)(
vlc_object_t
*
);
static
void
xspf_export_item
(
playlist_item_t
*
,
FILE
*
);
static
void
xspf_export_item
(
playlist_item_t
*
,
FILE
*
,
int
*
);
static
void
xspf_extension_item
(
playlist_item_t
*
,
FILE
*
,
int
*
);
static
char
*
assertUTF8URI
(
char
*
);
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