Re-encode on reboot-interruption
This commit is contained in:
1 parent
890cf28a09
commit
cc37a1b89a
3 files changed
+15
-12
No files matched your search
+1
-1
@@ -34,7 +34,7 @@ function filename(){
|
||||
<input class="abs" id="fakeinput" tabindex="-1">
|
||||
<p class="abs" id="name">Click to select the video</p>
|
||||
</div>');
|
||||
if($user!=='library' && $user!=='pp'){ ///////////////////////////////
|
||||
if($user!=='library'){ ///////////////////////////////
|
||||
// Check countdown options
|
||||
$cf=file(__DIR__.'/../countdown',FILE_IGNORE_NEW_LINES & FILE_SKIP_EMPTY_LINES);
|
||||
$n=0;
|
||||
|
||||
+2
-2
@@ -53,7 +53,7 @@ $min=substr($time, 3, 2);
|
||||
$tme=$hour.$min;
|
||||
$dir='streams/';
|
||||
$name=$key.'.'.$date.'_'.$tme.$id.$user.$email.'@'.$target;
|
||||
if($user=='library' || $user=='pp'){ ////////////////////////
|
||||
if($user=='library'){ ////////////////////////
|
||||
move_uploaded_file($_FILES['file']['tmp_name'], $dir.'video.'.$user);
|
||||
sleep(15);
|
||||
session_unset();
|
||||
@@ -101,7 +101,7 @@ if(isset($countdown)){
|
||||
}
|
||||
print('
|
||||
</p>
|
||||
<p>When done encoding, email <b>'.$to.'</b></p>
|
||||
<p>After encoding, an email is sent to <b>'.$to.'</b></p>
|
||||
<p>Streaming on <b>'.$date.'</b> at <b>'.$time.'</b>h on <b>'.$target.'</b></p>');
|
||||
Back('');
|
||||
?>
|
||||
Reference in new issue
Block a user