]> git.plutz.net Git - serve0/blobdiff - templates/playctl.html.sh
slave remote player to local interface, so that tags can be processed
[serve0] / templates / playctl.html.sh
index 1d439e53ac93b72b2eb0f3aba26f1261f07b2b58..5d0159791e04095245ae9eaad0fbfe5d0b584dab 100755 (executable)
@@ -62,8 +62,8 @@ cat <<EOF
 <div id="playctl">
   <h1>$info</h1>
 
-  <form action="?action=playctl" method="post" class="playctl">
-    <input type="hidden" name="referrer" value="$(attribsafe "${REQUEST_URI}")">
+  <form action="${actionuri}" method="post" class="playctl">
+    <input type="hidden" name="referrer" value="$(attribsafe "//${HTTP_HOST}${REQUEST_URI}")">
     <fieldset class="playback">
       <button type="submit" name="seek" value="-60">&lt;&lt;&lt;</button>
       <button type="submit" name="seek" value="-10">&lt;&lt;</button>