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
76b20a60
Commit
76b20a60
authored
Mar 15, 2006
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"[PATCH] http interface : fix the shuffle/loop/repeat buttons" by Laurent Mutricy
parent
bbb8a1ec
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
3 deletions
+19
-3
share/http/js/functions.js
share/http/js/functions.js
+15
-0
share/http/requests/status.xml
share/http/requests/status.xml
+4
-3
No files found.
share/http/js/functions.js
View file @
76b20a60
...
...
@@ -433,6 +433,21 @@ function parse_status()
document
.
getElementById
(
'
btn_pause
'
).
setAttribute
(
'
title
'
,
'
Play
'
);
}
if
(
status
.
getElementsByTagName
(
'
random
'
)[
0
].
firstChild
.
data
==
"
1
"
)
document
.
getElementById
(
'
btn_shuffle
'
).
style
.
background
=
'
rgb( 170, 170, 170 )
'
;
else
document
.
getElementById
(
'
btn_shuffle
'
).
style
.
background
=
''
;
if
(
status
.
getElementsByTagName
(
'
loop
'
)[
0
].
firstChild
.
data
==
"
1
"
)
document
.
getElementById
(
'
btn_loop
'
).
style
.
background
=
'
rgb( 170, 170, 170 )
'
;
else
document
.
getElementById
(
'
btn_loop
'
).
style
.
background
=
''
;
if
(
status
.
getElementsByTagName
(
'
repeat
'
)[
0
].
firstChild
.
data
==
"
1
"
)
document
.
getElementById
(
'
btn_repeat
'
).
style
.
background
=
'
rgb( 170, 170, 170 )
'
;
else
document
.
getElementById
(
'
btn_repeat
'
).
style
.
background
=
''
;
var
tree
=
document
.
createElement
(
"
ul
"
);
var
categories
=
status
.
getElementsByTagName
(
'
category
'
);
var
i
;
...
...
share/http/requests/status.xml
View file @
76b20a60
...
...
@@ -69,10 +69,10 @@
<vlc
id=
"rpn"
param1=
""
/>
<!-- FIXME -->
<vlc
id=
"end"
/>
<vlc
id=
"if"
param1=
"command value 'pl_random' strcmp 0 ="
/>
<vlc
id=
"rpn"
param1=
"'random' 'VLC_OBJECT_PLAYLIST' vlc_var_get
!
'random' 'VLC_OBJECT_PLAYLIST' vlc_var_set"
/>
<vlc
id=
"rpn"
param1=
"'random' 'VLC_OBJECT_PLAYLIST' vlc_var_get
1 + 2 %
'random' 'VLC_OBJECT_PLAYLIST' vlc_var_set"
/>
<vlc
id=
"end"
/>
<vlc
id=
"if"
param1=
"command value 'pl_loop' strcmp 0 ="
/>
<vlc
id=
"rpn"
param1=
"'loop' 'VLC_OBJECT_PLAYLIST' vlc_var_get
!
'loop' 'VLC_OBJECT_PLAYLIST' vlc_var_set"
/>
<vlc
id=
"rpn"
param1=
"'loop' 'VLC_OBJECT_PLAYLIST' vlc_var_get
1 + 2 %
'loop' 'VLC_OBJECT_PLAYLIST' vlc_var_set"
/>
<vlc
id=
"end"
/>
<vlc
id=
"if"
param1=
"command value 'pl_repeat' strcmp 0 ="
/>
<vlc
id=
"rpn"
param1=
"'repeat' 'VLC_OBJECT_PLAYLIST' vlc_var_get 1 + 2 % 'repeat' 'VLC_OBJECT_PLAYLIST' vlc_var_set"
/>
...
...
@@ -99,7 +99,8 @@
<state><vlc
id=
"value"
param1=
"stream_state"
/></state>
<position><vlc
id=
"value"
param1=
"stream_position"
/></position>
<fullscreen><vlc
id=
"if"
param1=
"'VLC_OBJECT_VOUT' vlc_obj_exists"
/><vlc
id=
"value"
param1=
"'fullscreen' 'VLC_OBJECT_VOUT' vlc_var_get"
/><vlc
id=
"end"
/></fullscreen>
<loop><vlc
id=
"value"
param1=
"'loop' 'VLC_OBJECT_PLAYLIST' vlc_var_get"
/></loop>
<random><vlc
id=
"value"
param1=
"'random' 'VLC_OBJECT_PLAYLIST' vlc_var_get"
/></random>
<loop><vlc
id=
"value"
param1=
"'loop' 'VLC_OBJECT_PLAYLIST' vlc_var_get"
/></loop>
<repeat><vlc
id=
"value"
param1=
"'repeat' 'VLC_OBJECT_PLAYLIST' vlc_var_get"
/></repeat>
<information>
<vlc
id=
"foreach"
param1=
"inf"
param2=
"information"
/>
...
...
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