functions.php
changeset 32 86140ed9087d
parent 16 23d4cf2f183b
child 33 3b4aef1efff6
equal deleted inserted replaced
27:20a36fe254c9 32:86140ed9087d
   132         'length' => seconds_to_str(intval($child->Length)),
   132         'length' => seconds_to_str(intval($child->Length)),
   133         'length_int' => intval($child->Length)
   133         'length_int' => intval($child->Length)
   134       );
   134       );
   135     $playlist[] = $item;
   135     $playlist[] = $item;
   136   }
   136   }
       
   137   // if we're a child process, signal the parent to update
       
   138   if ( defined('HTTPD_WS_CHILD') )
       
   139   {
       
   140     global $httpd;
       
   141     posix_kill($httpd->parent_pid, SIGUSR1);
       
   142   }
   137 }
   143 }
   138 
   144 
   139 /**
   145 /**
   140  * Builds the correct MD5 check for the specified playlist XML file. This is designed to base on the list of actual tracks, disregarding
   146  * Builds the correct MD5 check for the specified playlist XML file. This is designed to base on the list of actual tracks, disregarding
   141  * the rest of the text in the XML file.
   147  * the rest of the text in the XML file.