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
e970f05f
Commit
e970f05f
authored
Mar 18, 2006
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HTTP interface: Display estimated item time when available.
parent
49f3fdae
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
2 deletions
+8
-2
modules/control/http/util.c
modules/control/http/util.c
+3
-0
share/http/dialogs/playlist
share/http/dialogs/playlist
+1
-1
share/http/js/functions.js
share/http/js/functions.js
+3
-0
share/http/requests/playlist.xml
share/http/requests/playlist.xml
+1
-1
No files found.
modules/control/http/util.c
View file @
e970f05f
...
@@ -458,6 +458,9 @@ void E_(PlaylistListNode)( intf_thread_t *p_intf, playlist_t *p_pl,
...
@@ -458,6 +458,9 @@ void E_(PlaylistListNode)( intf_thread_t *p_intf, playlist_t *p_pl,
E_
(
mvar_AppendNewVar
)(
itm
,
"ro"
,
"rw"
);
E_
(
mvar_AppendNewVar
)(
itm
,
"ro"
,
"rw"
);
}
}
sprintf
(
value
,
"%d"
,
p_node
->
input
.
i_duration
);
E_
(
mvar_AppendNewVar
)(
itm
,
"duration"
,
value
);
E_
(
mvar_AppendVar
)(
s
,
itm
);
E_
(
mvar_AppendVar
)(
s
,
itm
);
}
}
else
else
...
...
share/http/dialogs/playlist
View file @
e970f05f
...
@@ -71,7 +71,7 @@ This dialog needs the following dialogs to be fully functional: <none>
...
@@ -71,7 +71,7 @@ This dialog needs the following dialogs to be fully functional: <none>
<div
id=
"menu_sd"
class=
"menu"
>
<div
id=
"menu_sd"
class=
"menu"
>
<vlc
id=
"rpn"
param1=
"services_discovery"
/>
<vlc
id=
"rpn"
param1=
"services_discovery"
/>
<vlc
id=
"foreach"
param1=
"sd"
param2=
"object"
/>
<vlc
id=
"foreach"
param1=
"sd"
param2=
"object"
/>
<button
onclick=
"pl_sd('<vlc id="
value
"
param1=
"sd"
/>
');hide_menu('menu_sd');" onmouseover="button_over(this);" onmouseout="button_out_menu(this);" title="
<vlc
id=
"value"
param1=
"sd.name"
/>
" >
<vlc
id=
"value"
param1=
"sd.name"
/></button><br/>
<button
onclick=
"pl_sd('<vlc id="
value
"
param1=
"sd"
/>
');hide_menu('menu_sd');" onmouseover="button_over(this);" onmouseout="button_out_menu(this);" title="
Toggle
<vlc
id=
"value"
param1=
"sd.name"
/>
" >
<vlc
id=
"value"
param1=
"sd.name"
/></button><br/>
<vlc
id=
"end"
/>
<vlc
id=
"end"
/>
</div>
</div>
</button>
</button>
...
...
share/http/js/functions.js
View file @
e970f05f
...
@@ -557,6 +557,9 @@ function parse_playlist()
...
@@ -557,6 +557,9 @@ function parse_playlist()
}
}
pl
.
setAttribute
(
'
title
'
,
elt
.
getAttribute
(
'
uri
'
));
pl
.
setAttribute
(
'
title
'
,
elt
.
getAttribute
(
'
uri
'
));
pl
.
appendChild
(
document
.
createTextNode
(
elt
.
getAttribute
(
'
name
'
)
)
);
pl
.
appendChild
(
document
.
createTextNode
(
elt
.
getAttribute
(
'
name
'
)
)
);
var
duration
=
elt
.
getAttribute
(
'
duration
'
);
if
(
duration
>
0
)
pl
.
appendChild
(
document
.
createTextNode
(
"
(
"
+
format_time
(
elt
.
getAttribute
(
'
duration
'
)
/
1000000
)
+
"
)
"
)
);
pos
.
appendChild
(
pl
);
pos
.
appendChild
(
pl
);
if
(
elt
.
getAttribute
(
'
ro
'
)
==
'
rw
'
)
if
(
elt
.
getAttribute
(
'
ro
'
)
==
'
rw
'
)
...
...
share/http/requests/playlist.xml
View file @
e970f05f
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<vlc
id=
"end"
/>
<vlc
id=
"end"
/>
<vlc
id=
"if"
param1=
"pl.type value 'Node' strcmp"
/>
<vlc
id=
"if"
param1=
"pl.type value 'Node' strcmp"
/>
<vlc
id=
"rpn"
param1=
"1 +"
/>
<vlc
id=
"rpn"
param1=
"1 +"
/>
<leaf
id=
"<vlc id="
value"
param1=
"pl.index"
/>
"
<vlc
id=
"if"
param1=
"pl.current"
/>
current="current"
<vlc
id=
"end"
/>
uri="
<vlc
id=
"value"
param1=
"pl.uri value '&' '&' str_replace"
/>
" name="
<vlc
id=
"value"
param1=
"pl.name value '&' '&' str_replace"
/>
" ro="
<vlc
id=
"value"
param1=
"pl.ro"
/>
" />
<leaf
id=
"<vlc id="
value"
param1=
"pl.index"
/>
"
<vlc
id=
"if"
param1=
"pl.current"
/>
current="current"
<vlc
id=
"end"
/>
uri="
<vlc
id=
"value"
param1=
"pl.uri value '&' '&' str_replace"
/>
" name="
<vlc
id=
"value"
param1=
"pl.name value '&' '&' str_replace"
/>
" ro="
<vlc
id=
"value"
param1=
"pl.ro"
/>
"
duration="
<vlc
id=
"value"
param1=
"pl.duration"
/>
"
/>
<vlc
id=
"else"
/>
<vlc
id=
"else"
/>
<node
id=
"<vlc id="
value"
param1=
"pl.index"
/>
" name="
<vlc
id=
"value"
param1=
"pl.name value '&' '&' str_replace"
/>
" ro="
<vlc
id=
"value"
param1=
"pl.ro"
/>
" >
<node
id=
"<vlc id="
value"
param1=
"pl.index"
/>
" name="
<vlc
id=
"value"
param1=
"pl.name value '&' '&' str_replace"
/>
" ro="
<vlc
id=
"value"
param1=
"pl.ro"
/>
" >
<vlc
id=
"if"
param1=
"first_item value 0 ="
/>
<vlc
id=
"if"
param1=
"first_item value 0 ="
/>
...
...
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