Skip to content

Commit

Permalink
release v1.0.0-rc8
Browse files Browse the repository at this point in the history
  • Loading branch information
nambuplace committed Jul 27, 2019
1 parent 9d04525 commit e9c0961
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 28 deletions.
3 changes: 0 additions & 3 deletions htdocs/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@

// basic 認証設定を実行
basicAuth($basicauth, $basicauth_user, $basicauth_password);

// ファイルリスト作成を実行
fileinfo($infofile, $TSfile_dir);

// ONAirのみ
if ($ini['state'] == "ONAir"){
Expand Down
3 changes: 2 additions & 1 deletion install.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@echo off

.\bin\php\php.exe install.php
cd .\bin\Apache\bin\
..\..\php\php.exe ..\..\..\install.php
25 changes: 1 addition & 24 deletions module.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,7 @@
// 各種モジュール

// バージョン
$version = 'v1.0.0-rc7';

// 録画ファイルリストを作成
function fileInfo($infofile, $TSfile_dir){

// jsonからデコードして代入
if (file_exists($infofile)){
$TSfile = json_decode(file_get_contents($infofile), true);
} else {
return;
}

// ファイル検索
$search = array_merge(glob($TSfile_dir.'*.ts'), glob($TSfile_dir.'*\*.ts'));

// ファイルが増減していたら searchfile.php でサムネイルの作成とかやっておいてもらう
if (count($TSfile) !== count($search)){

// リクエストを投げる
//file_get_contents('http://'.basename($_SERVER["HTTP_HOST"], $_SERVER["SERVER_PORT"]).'8000/api/searchfile.php?flush');
}

return;
}
$version = 'v1.0.0-rc8';

// Windows用非同期コマンド実行関数
function win_exec($cmd){
Expand Down

0 comments on commit e9c0961

Please sign in to comment.