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
f06d45e8
Commit
f06d45e8
authored
Aug 18, 2005
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If passed ?control=play without any item, just ask playlist to play
parent
422a942c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
modules/control/http/macro.c
modules/control/http/macro.c
+7
-0
modules/control/http/rpn.c
modules/control/http/rpn.c
+3
-3
No files found.
modules/control/http/macro.c
View file @
f06d45e8
...
...
@@ -188,6 +188,13 @@ void MacroDo( httpd_file_sys_t *p_args,
E_
(
ExtractURIValue
)(
p_request
,
"item"
,
item
,
512
);
i_item
=
atoi
(
item
);
/* id = 0 : simply ask playlist to play */
if
(
i_item
==
0
)
{
playlist_Play
(
p_sys
->
p_playlist
);
msg_Dbg
(
p_intf
,
"requested playlist play"
);
break
;
}
playlist_Control
(
p_sys
->
p_playlist
,
PLAYLIST_ITEMPLAY
,
playlist_ItemGetById
(
p_sys
->
p_playlist
,
i_item
)
);
...
...
modules/control/http/rpn.c
View file @
f06d45e8
...
...
@@ -314,8 +314,8 @@ void EvaluateRPN( intf_thread_t *p_intf, mvar_t *vars,
char
value
[
512
];
char
*
tmp
;
E_
(
uri_extract_v
alue
)(
url
,
name
,
value
,
512
);
E_
(
uri_decode_url_encoded
)(
value
);
E_
(
ExtractURIV
alue
)(
url
,
name
,
value
,
512
);
E_
(
DecodeEncodedURI
)(
value
);
tmp
=
E_
(
FromUTF8
)(
p_intf
,
value
);
SSPush
(
st
,
tmp
);
free
(
tmp
);
...
...
@@ -577,7 +577,7 @@ void EvaluateRPN( intf_thread_t *p_intf, mvar_t *vars,
else
if
(
!
strcmp
(
s
,
"vlc_seek"
)
)
{
char
*
psz_value
=
SSPop
(
st
);
E_
(
Seek
)(
p_intf
,
psz_value
);
E_
(
Handle
Seek
)(
p_intf
,
psz_value
);
msg_Dbg
(
p_intf
,
"requested playlist seek: %s"
,
psz_value
);
free
(
psz_value
);
}
...
...
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