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
285ed3d1
Commit
285ed3d1
authored
Oct 12, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: use a valid extension for Media Library ("xspf")
parent
1ce8b004
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/playlist/loadsave.c
src/playlist/loadsave.c
+4
-4
No files found.
src/playlist/loadsave.c
View file @
285ed3d1
...
@@ -119,7 +119,7 @@ int playlist_MLLoad( playlist_t *p_playlist )
...
@@ -119,7 +119,7 @@ int playlist_MLLoad( playlist_t *p_playlist )
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
if
(
asprintf
(
&
psz_uri
,
"%s"
DIR_SEP
"ml.xsp"
,
psz_datadir
)
==
-
1
)
if
(
asprintf
(
&
psz_uri
,
"%s"
DIR_SEP
"ml.xsp
f
"
,
psz_datadir
)
==
-
1
)
{
{
psz_uri
=
NULL
;
psz_uri
=
NULL
;
goto
error
;
goto
error
;
...
@@ -133,7 +133,7 @@ int playlist_MLLoad( playlist_t *p_playlist )
...
@@ -133,7 +133,7 @@ int playlist_MLLoad( playlist_t *p_playlist )
}
}
free
(
psz_uri
);
free
(
psz_uri
);
if
(
asprintf
(
&
psz_uri
,
"file/xspf-open://%s"
DIR_SEP
"ml.xsp"
,
if
(
asprintf
(
&
psz_uri
,
"file/xspf-open://%s"
DIR_SEP
"ml.xsp
f
"
,
psz_datadir
)
==
-
1
)
psz_datadir
)
==
-
1
)
{
{
psz_uri
=
NULL
;
psz_uri
=
NULL
;
...
@@ -181,14 +181,14 @@ int playlist_MLDump( playlist_t *p_playlist )
...
@@ -181,14 +181,14 @@ int playlist_MLDump( playlist_t *p_playlist )
}
}
char
psz_dirname
[
strlen
(
psz_datadir
)
char
psz_dirname
[
strlen
(
psz_datadir
)
+
sizeof
(
DIR_SEP
"ml.xs
l
"
)];
+
sizeof
(
DIR_SEP
"ml.xs
pf
"
)];
sprintf
(
psz_dirname
,
"%s"
,
psz_datadir
);
sprintf
(
psz_dirname
,
"%s"
,
psz_datadir
);
if
(
config_CreateDir
(
(
vlc_object_t
*
)
p_playlist
,
psz_dirname
)
)
if
(
config_CreateDir
(
(
vlc_object_t
*
)
p_playlist
,
psz_dirname
)
)
{
{
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
strcat
(
psz_dirname
,
DIR_SEP
"ml.xsp"
);
strcat
(
psz_dirname
,
DIR_SEP
"ml.xsp
f
"
);
stats_TimerStart
(
p_playlist
,
"ML Dump"
,
STATS_TIMER_ML_DUMP
);
stats_TimerStart
(
p_playlist
,
"ML Dump"
,
STATS_TIMER_ML_DUMP
);
playlist_Export
(
p_playlist
,
psz_dirname
,
p_playlist
->
p_ml_category
,
playlist_Export
(
p_playlist
,
psz_dirname
,
p_playlist
->
p_ml_category
,
...
...
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