X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=templates%2Fplayctl.html.sh;h=e43beedb1966521d9b371bb8843ce281c3350b65;hb=7571fa64baa699a0e2cc6d77d9fb69c907ee8d64;hp=1725f7f784ce1b7c489ca04a2cbe4ff409e6a5ed;hpb=aa4516d7090b7818127a1dd39a281059d3e042cc;p=serve0 diff --git a/templates/playctl.html.sh b/templates/playctl.html.sh index 1725f7f..e43beed 100755 --- a/templates/playctl.html.sh +++ b/templates/playctl.html.sh @@ -16,98 +16,126 @@ # along with Serve0 If not, see . cat < + + + + +
+ +
+ + +
+
+ $(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') ${description:+$(printf %s "$description" |_wiki)} +
-
- - - - - $( - for cat in $(list_categories); do - printf '

' + + + + + + + $( + for cat in $(list_categories); do + printf '
-

-

- - -

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