X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=templates%2Fplayctl.html.sh;h=9152db4e4f0f637d9819c2d61c616ecb4dcc2e05;hb=5667597778145b23dc04aa65e1e9ea3ac0b7fd97;hp=e361ddae4cb316de57237f93aea8cf7f2c4ec4c3;hpb=ccfecec1a0f29212e4053ff637c4f2c0490ac40d;p=serve0 diff --git a/templates/playctl.html.sh b/templates/playctl.html.sh index e361dda..9152db4 100755 --- a/templates/playctl.html.sh +++ b/templates/playctl.html.sh @@ -16,41 +16,68 @@ # along with Serve0 If not, see . cat < + + + - Clear All - Dismiss + +
+ +
+ + +
+
+ $(pa_sinks |while read no name; do + printf '' "$no" "$name" + done) +
+ Hide
+ + $(. $_EXEC/templates/preferences.html.sh) + + + + +

$info

Download -
- - - - - - -
- - -
- $(for n in $(seq 0 5 100); do - printf '' "$([ "$volume" = "$n" ] && printf selected)" "$n" - done) -
- + + +
+ + + + + + +
+
+ $(for n in $(seq 0 5 100); do + printf '' "$([ "$volume" = "$n" ] && printf selected)" "$n" + done) +
$(printf "%d:%02d min" $(($length / 60)) $(($length % 60)) ) @@ -59,52 +86,56 @@ cat <\1 :g') ${description:+$(printf %s "$description" |_wiki)} +
-
- - - - - $( - for cat in $(list_categories); do - printf '

' - done - ) + + + + + -

- - -

-

- - -

- - + $( + for cat in $(list_categories); do + printf '
' + done + ) - Hide +
+ + +
+
+ + +
+ + -
- + Hide + + + EOF cnt=0 progress \ | while read p t; do - printf '%d:%02d\n' "${p}" "$(($t / 60))" "$(($t % 60))" + printf '%d:%02d\n' "${p}" "$(($t / 60))" "$(($t % 60))" done +printf '' + # vi:set filetype=html: