Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
aa0bac02
Commit
aa0bac02
authored
Aug 18, 2005
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/control/http.c: Implemented RPN functions playlist_move and
playlist_delete.
parent
059d8bfa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
modules/control/http.c
modules/control/http.c
+21
-0
No files found.
modules/control/http.c
View file @
aa0bac02
...
...
@@ -4104,6 +4104,27 @@ static void EvaluateRPN( intf_thread_t *p_intf, mvar_t *vars,
playlist_LockClear
(
p_sys
->
p_playlist
);
msg_Dbg
(
p_intf
,
"requested playlist empty"
);
}
else
if
(
!
strcmp
(
s
,
"playlist_delete"
)
)
{
int
i_id
=
SSPopN
(
st
,
vars
);
playlist_LockDelete
(
p_sys
->
p_playlist
,
i_id
);
msg_Dbg
(
p_intf
,
"requested playlist delete: %d"
,
i_id
);
}
else
if
(
!
strcmp
(
s
,
"playlist_move"
)
)
{
int
i_newpos
=
SSPopN
(
st
,
vars
);
int
i_pos
=
SSPopN
(
st
,
vars
);
if
(
i_pos
<
i_newpos
)
{
playlist_Move
(
p_sys
->
p_playlist
,
i_pos
,
i_newpos
+
1
);
}
else
{
playlist_Move
(
p_sys
->
p_playlist
,
i_pos
,
i_newpos
);
}
msg_Dbg
(
p_intf
,
"requested to move playlist item %d to %d"
,
i_pos
,
i_newpos
);
}
else
{
SSPush
(
st
,
s
);
...
...
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