X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=templates%2Fplayctl.html.sh;h=1d439e53ac93b72b2eb0f3aba26f1261f07b2b58;hb=86e8f96af15808d921bba4e8daf3b3facbd00afd;hp=8a94bd35ccf1feaa25d60e87931e7051bd1d8553;hpb=a71c2f4849203931aa2437e3ff7d8c200c6f5239;p=serve0 diff --git a/templates/playctl.html.sh b/templates/playctl.html.sh index 8a94bd3..1d439e5 100755 --- a/templates/playctl.html.sh +++ b/templates/playctl.html.sh @@ -1,4 +1,4 @@ -# Copyright 2014 - 2016 Paul Hänsch +# Copyright 2014 - 2017 Paul Hänsch # # This file is part of Serve0 # @@ -16,41 +16,73 @@ # 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 '' \ + "$( [ "$n" = "$volume" ] && printf selected + [ "$n" = "$((volume - 10))" ] && printf llselected + [ "$n" = "$((volume - 5))" ] && printf lselected + [ "$n" = "$((volume + 5))" ] && printf gselected + [ "$n" = "$((volume + 10))" ] && printf ggselected + )" "$n" + done) +
$(printf "%d:%02d min" $(($length / 60)) $(($length % 60)) ) @@ -59,52 +91,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 '%s\n' "${p}" "${t}" + printf '%d:%02d\n' "${p}" "$(($t / 60))" "$(($t % 60))" done +printf '' + # vi:set filetype=html: