X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=templates%2Fplayctl.html.sh;h=9152db4e4f0f637d9819c2d61c616ecb4dcc2e05;hb=5667597778145b23dc04aa65e1e9ea3ac0b7fd97;hp=ec6467ee47f82bac4a3c47d25f2c517bff20bf94;hpb=3f7337568cab959054f5c75081644fb04fc5c254;p=serve0 diff --git a/templates/playctl.html.sh b/templates/playctl.html.sh index ec6467e..9152db4 100755 --- a/templates/playctl.html.sh +++ b/templates/playctl.html.sh @@ -16,41 +16,68 @@ # along with Serve0 If not, see . cat < + +Search + - Order by: + Order by Name Date Length - + + + Dismiss + - Clear All - Dismiss +Audio + + + + Amp Off + Amp On + + + $(pa_sinks |while read no name; do + printf '%s' "$no" "$name" + done) + + Hide +Preferences + $(. $_EXEC/templates/preferences.html.sh) + +{+} + + Hide + + Index view + Browse Folders + + + $info Download - - - <<< - << - ■ - || / ▶ - >> - >>> - - - Amp Off - Amp On - $(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) + $(printf "%d:%02d min" $(($length / 60)) $(($length % 60)) ) @@ -59,46 +86,47 @@ cat <\1 :g') ${description:+$(printf %s "$description" |_wiki)} + - - - - - - $( - for cat in $(list_categories); do - printf '%s:' "${cat}" - catt="${cat}:" - [ "$catt" = "none:" ] && catt='' - - printf %s "$taglist_set" |egrep '^'"$catt"'[^:]+$' |while read line; do - printf '%s' \ - "$(egrep -q "(^|.*\|)$line(\|.*|$)" "$meta" && printf selected)" \ - "$line" "${line#*:}" - done - printf '' - done - ) + + + + + - - Additional Tags (one per line): - - - - Description: - $description - - - + $( + for cat in $(list_categories); do + printf '%s:' "${cat}" + catt="${cat}:" + [ "$catt" = "none:" ] && catt='' + + printf %s "$taglist_set" |egrep '^'"$catt"'[^:]+$' |while read line; do + printf '%s' \ + "$(egrep -q "(^|.*\|)$line(\|.*|$)" "$meta" && printf selected)" \ + "$line" "${line#*:}" + done + printf '' + done + ) - Hide + + Additional Tags (one per line): + + + + Description: + $description + + + - - + Hide + + EOF
%s:' "${cat}" - catt="${cat}:" - [ "$catt" = "none:" ] && catt='' - - printf %s "$taglist_set" |egrep '^'"$catt"'[^:]+$' |while read line; do - printf '%s' \ - "$(egrep -q "(^|.*\|)$line(\|.*|$)" "$meta" && printf selected)" \ - "$line" "${line#*:}" - done - printf '
- Additional Tags (one per line): - -
- Description: - $description -