created settings page
set html title poll infos about current reindex better hover effect of preview tiles hide non existing infos in Player fixed wrong tagging of lq resolutions
This commit is contained in:
		
							
								
								
									
										18
									
								
								api/extractionData.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								api/extractionData.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
<?php
 | 
			
		||||
$return = new stdClass();
 | 
			
		||||
if (file_exists("/tmp/output.log")) {
 | 
			
		||||
    $out = file_get_contents("/tmp/output.log");
 | 
			
		||||
    // clear log file
 | 
			
		||||
    file_put_contents("/tmp/output.log", "");
 | 
			
		||||
    $return->message = $out;
 | 
			
		||||
    $return->contentAvailable = true;
 | 
			
		||||
 | 
			
		||||
    if (substr($out, -strlen("-42")) == "-42") {
 | 
			
		||||
        unlink("/tmp/output.log");
 | 
			
		||||
    }
 | 
			
		||||
} else {
 | 
			
		||||
    $return->contentAvailable = false;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
echo json_encode($return);
 | 
			
		||||
		Reference in New Issue
	
	Block a user