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
758190ee
Commit
758190ee
authored
Jan 27, 2006
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* : it's now possible to enter a batch of commands or export the VLM
configuration
parent
75f733bc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
0 deletions
+38
-0
share/http/dialogs/vlm
share/http/dialogs/vlm
+9
-0
share/http/js/vlm.js
share/http/js/vlm.js
+18
-0
share/http/vlm_export.html
share/http/vlm_export.html
+11
-0
No files found.
share/http/dialogs/vlm
View file @
758190ee
...
...
@@ -51,6 +51,9 @@ sout and vlmelements .
<button
id=
"btn_schedule"
onclick=
"hide_vlm_add();show('vlm_add_schedule');update_vlm_add_schedule();"
onmouseover=
"button_over(this);"
onmouseout=
"button_out(this);"
>
Schedule
</button>
<button
id=
"btn_other"
onclick=
"hide_vlm_add();show('vlm_add_other');update_vlm_add_other();"
onmouseover=
"button_over(this);"
onmouseout=
"button_out(this);"
>
Other
</button>
</div>
<div
id=
"vlm_helper"
class=
"helper"
>
<div
id=
"vlm_add_broadcast"
style=
"display: block"
>
...
...
@@ -134,6 +137,12 @@ sout and vlmelements .
<label
for=
"vlm_schedule_repeat_times"
>
Number of repetitions (use 0 to repeat endlessly):
</label>
<input
type=
"text"
id=
"vlm_schedule_repeat_times"
size=
"8"
disabled=
"disabled"
value=
"0"
onchange=
"update_vlm_add_schedule();"
/>
</div>
<div
id=
"vlm_add_other"
style=
"display: none"
>
<input
type=
"button"
id=
"btn_import"
onclick=
"vlm_batch(document.getElementById('vlm_batch_text').value);"
value=
"Send command batch"
/>
<input
type=
"button"
id=
"btn_export"
onclick=
"document.location.assign('vlm_export.html');"
value=
"Export VLM commands (new page)"
/>
<br/>
<textarea
cols=
"70"
rows=
"20"
id=
"vlm_batch_text"
>
#paste your VLM commands here
</textarea>
</div>
</div>
</div>
...
...
share/http/js/vlm.js
View file @
758190ee
...
...
@@ -59,6 +59,7 @@ function hide_vlm_add()
document
.
getElementById
(
'
vlm_add_broadcast
'
).
style
.
display
=
'
none
'
;
document
.
getElementById
(
'
vlm_add_vod
'
).
style
.
display
=
'
none
'
;
document
.
getElementById
(
'
vlm_add_schedule
'
).
style
.
display
=
'
none
'
;
document
.
getElementById
(
'
vlm_add_other
'
).
style
.
display
=
'
none
'
;
}
function
toggle_schedule_date
()
...
...
@@ -246,6 +247,12 @@ function update_vlm_add_schedule()
}
}
function
update_vlm_add_other
()
{
cmd
=
document
.
getElementById
(
'
vlm_command
'
);
cmd
.
value
=
""
;
}
function
clear_vlm_add
()
{
document
.
getElementById
(
'
vlm_command
'
).
value
=
""
;
...
...
@@ -657,6 +664,17 @@ function vlm_option( name, option )
vlm_cmd
(
value
(
'
vlm_command
'
)
);
}
function
vlm_batch
(
batch
)
{
var
i
;
var
commands
=
batch
.
split
(
'
\n
'
);
for
(
i
=
0
;
i
<
commands
.
length
;
i
++
)
{
document
.
getElementById
(
'
vlm_command
'
).
value
=
commands
[
i
];
vlm_cmd
(
value
(
'
vlm_command
'
)
);
}
}
function
vlm_schedule_append
(
name
)
{
act
=
document
.
getElementById
(
'
vlm_elt_
'
+
name
+
'
_action
'
).
value
;
...
...
share/http/vlm_export.html
0 → 100644
View file @
758190ee
##
<pre>
##
##
<a
href=
"vlm.html"
>
VLM HTTP interface
</a>
## This file can be loaded as is in VLM.
## Comments starting with "##" were added by the HTTP interface.
## You can remove them if you want to.
##
<vlc
id=
"value"
param1=
"; export vlm_cmd vlm_value"
/>
##
## end of export
##
</pre>
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