X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=templates%2Fplayctl.html.sh;h=5d0159791e04095245ae9eaad0fbfe5d0b584dab;hb=d716f2ce1fe64cf87f777490315bc51906001c72;hp=e1e2dfc433ff82e7ddc6e147750ff31c74e2d74c;hpb=ede7b5bc5379c40a8351f3a01b8f4f2a52711d7d;p=serve0 diff --git a/templates/playctl.html.sh b/templates/playctl.html.sh index e1e2dfc..5d01597 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,103 +16,131 @@ # 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') ${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: