X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=templates%2Fplayctl.html.sh;h=e43beedb1966521d9b371bb8843ce281c3350b65;hb=7571fa64baa699a0e2cc6d77d9fb69c907ee8d64;hp=1aada8062ca81adcb4ead0f28fa002d33d801b41;hpb=623e13703a176cf67053c5e21a6d2c71f5a96c55;p=serve0 diff --git a/templates/playctl.html.sh b/templates/playctl.html.sh index 1aada80..e43beed 100755 --- a/templates/playctl.html.sh +++ b/templates/playctl.html.sh @@ -16,101 +16,126 @@ # 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 '' "$([ "$volume" = "$n" ] && printf selected)" "$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: