X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=templates%2Fplayctl.html.sh;h=40244a3726a09d6078f26c92a82b362da4e33558;hb=94b22476b017682875212d6c569b221056dd7bb7;hp=1aada8062ca81adcb4ead0f28fa002d33d801b41;hpb=623e13703a176cf67053c5e21a6d2c71f5a96c55;p=serve0 diff --git a/templates/playctl.html.sh b/templates/playctl.html.sh index 1aada80..40244a3 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,101 +16,132 @@ # along with Serve0 If not, see . cat < + + + -
- - << - $(($page + 1)) - >> -
+ +
+ +
+ + +
+
+ $(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) +
- $(($length / 60)):$(($length % 60)) min + $(printf "%d:%02d min" $(($length / 60)) $(($length % 60)) ) Width: $width Height: $height
- - $(printf %s\\n "$tags" |sed -r 's:\|*([^|]+)\|*:\1:g') + $(printf %s\\n "$tags" |sed -r 's:\|*([^|]+)\|*:\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))" +done + +printf '' + # vi:set filetype=html: